Are there different versions of JVMs specific to different systems?

Java uses a combination of compilation and interpretation. It compiles the source code into bytecode instead of directly converting it to machine code. The reason is that machine code depends on the type of processor the system has. Thus, the generated machine code will be specific to a particular system and, therefore, will not be portable.

Thus, the bytecode is recognized by the JVM on different machines. My question is this. Because the JVM converts the bytecode to host machine code. And since there are different types of host machines. Are there different JVMs corresponding to different types of machines?

+3
source share
3 answers

Yes.

JVM , JVM ( ) .

+2

, . JVM , . download .

+2

Yes, so you need to choose a package for your platform (OS and architecture) on the Oracle website, for example: http://www.oracle.com/technetwork/java/javase/downloads/jre-6u25-download-346243.html

(The same applies to other JVMs.)

+2
source

All Articles