JVM vs compiler | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

JVM vs compiler

guys what the difference between the JVM and the compiler I think the JVM looks like the media player that operates the files those made by the complier right🤔?

18th Jul 2017, 1:18 PM
Hmmam Babe khuoja
Hmmam Babe khuoja - avatar
2 Answers
+ 15
Yes 😊you are right!! Java code want to compile to .class file and class file will be interpret by JVM for running java programs.😊😊😊😉😉
18th Jul 2017, 1:49 PM
Nithiwat
Nithiwat - avatar
+ 12
Yep you'r ex is sweet :) java==>bytecode==>machine code . advantage of this process is you have cross-platform program. java slogan : "Write once, run anywhere". jvm : execute bytecode compiler : compile code .
18th Jul 2017, 3:49 PM
Amir
Amir - avatar