3 ms·
If it were that simple, I would simply say that Java is compiled, while JVM byte code is interpreted. However, JVM bytecode is actually both interpreted and JI
by tsimionescu 4y ago
If it were that simple, I would simply say that Java is compiled, while JVM byte code is interpreted.
However, JVM bytecode is actually both interpreted and JIT compiled depending on runtime performance and other parameters. The JVM can even switch between compilation and interpreting for the same piece of code multiple times (most commonly, when attaching a debugger and hitting a breakpoint).