1 | Java applications are compiled and run on a machine just like any other general programming language such as C/C++. No web server or network are required although Java applications may also use network connections for distributed computing. |
2 | Java code |
3 | is compiled |
4 | to produce |
5 | bytecodes |
6 | run by Java |
7 | interpreter |
8 | to produce |
9 | results |
10 | OR |
11 | Java code |
12 | is compiled |
13 | to produce |
14 | native code |
15 | run directly |
16 | on machine |
17 | for better |
18 | performance |