How does java use the jvm to compile it's programs?
Anónimo
The compiler itself works as a native executable (hence javac.exe), it transforms source file into bytecode. The bytecode is platform independent because it's targeted at Java Virtual Machine. then the JVM translates it into machine code.