My understanding is about how java code is executed by jvm is
- Developer writes the .java file . Computer internally stores it in bits like everything else
- Now Java compiler compiles the bits into byte code(or we can say instructions specific to JVM) which JVM can interpret/execute easily. Right ?
- Now when we say JVM executes the byte code. I believe it means translating the byte code to machine instructions which CPU can execute. For example :- JVM translate the byte code to machine instruction specific to processor and OS(system calls). Is that correct ?