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. |
Java code |
is compiled |
to produce |
bytecodes |
run by Java |
interpreter |
to produce |
results |
OR |
Java code |
is compiled |
to produce |
native code |
run directly |
on machine |
for better |
performance |