+ 6
What does java interpreter and JVM do?
6 ответов
+ 3
A program usually runs on the operating system. That means you need a different version for different operating systems.
The JVM is an adapter. So the JVM runs on your operating system and your Java program runs on the JVM. So you only need one version of your program.
+ 6
Thanks @1of3
+ 5
Is JVM the reason for Java's "Write one, run every where"?
@1of3
+ 3
in short they read the java byte code and execute it after translating to machine code
+ 1
Yes. Indeed. A downside might be that you might not be able to do everything on the JVM that you could do on the operating system itself. That's why computer games are usually not written in Java.
+ 1
Jvm is stands for java virtual machine it provide environment to run the byte code ..it is abstract machine who
1)Load the code
2) verify the code
3) execute the code