Home > Back-end >  Questions about a 64 - bit Jvm
Questions about a 64 - bit Jvm

Time:09-26

JDK contains the Jvm, and then the JDK is 64, said the Jvm is 64? Is that in this way, also is to use a 64 - bit JDK program won't run on 32-bit Windows? !

CodePudding user response:

Yes, in oracle's official website to download the installation package, will be selected 32 bit or 64 bit system

CodePudding user response:

Depends, is generally not

CodePudding user response:

Compiled class doesn't have anything to do with 32 or 64
These are the bytecode, has nothing to do with the digits

A 32-bit JVM and a 64 - bit JVM can run your compiled class

CodePudding user response:

The
reference 3 floor sunyiz response:
compiled class doesn't have anything to do with 32 or 64
These are the bytecode, has nothing to do with the digits

32-bit JVM and a 64 - bit JVM can run you compiled class
this I understand, but the JVM included in the JDK, JDK is now 64 - bit, 32-bit system not all!

CodePudding user response:

The
reference 3 floor sunyiz response:
compiled class doesn't have anything to do with 32 or 64
These are the bytecode, has nothing to do with the digits

32-bit JVM and a 64 - bit JVM can run you compiled class
which I understand, but the JVM included in the JDK, and now the JDK is 64, 32 bit systems have no!

CodePudding user response:

reference 5 floor painting evening yan reply:
which I understand, but the Jvm included in the JDK, and now the JDK is 64, 32 bit systems have no!


Don't pay attention to what you said is the operating system, a 32-bit operating system that must run a 64 - bit stuff

CodePudding user response:

reference 5 floor painting evening yan reply:
which I understand, but the Jvm included in the JDK, and now the JDK is 64, 32 bit systems have no!


But you even beat out with 64 JDK class or jars, actually can be perform in a 32-bit JVM
So if you have a 32-bit machine 32-bit JVM can run any Java application (whether you compile environment is 32 bit or 64 bit)

CodePudding user response:

refer to 7th floor sunyiz response:
Quote: refer to fifth floor painting evening yan response:

I understand, but the Jvm included in the JDK, and now the JDK is 64, 32 bit systems have no!


But you even beat out with 64 JDK class or jars, actually can be perform in a 32-bit JVM
So if you have a 32-bit machine 32-bit JVM can run any Java application (whether you compile environment is 32 bit or 64 bit)
32-bit only JDK8 at present, but I was written in 64 - bit JDK13, this kind of situation if I installed a 32-bit JDK8, should also can't run? JDK version span is too big

CodePudding user response:

refer to the eighth floor painting evening yan response:
Quote: refer to 7th floor sunyiz response:
Quote: refer to fifth floor painting evening yan response:

I understand, but the Jvm included in the JDK, and now the JDK is 64, 32 bit systems have no!


But you even beat out with 64 JDK class or jars, actually can be perform in a 32-bit JVM
So if you have a 32-bit machine 32-bit JVM can run any Java application (whether you compile environment is 32 bit or 64 bit)
32-bit only JDK8 at present, but I was written in 64 - bit JDK13, this kind of situation if I installed a 32-bit JDK8, should also can't run? JDK version span too big
it is no good, low version of the JVM can't execute programs made up high version

CodePudding user response:

references 9 f sunyiz response:
Quote: refer to the eighth floor painting evening yan response:
Quote: refer to 7th floor sunyiz response:
Quote: refer to fifth floor painting evening yan response:

I understand, but the Jvm included in the JDK, and now the JDK is 64, 32 bit systems have no!


But you even beat out with 64 JDK class or jars, actually can be perform in a 32-bit JVM
So if you have a 32-bit machine 32-bit JVM can run any Java application (whether you compile environment is 32 bit or 64 bit)
32-bit only JDK8 at present, but I was written in 64 - bit JDK13, this kind of situation if I installed a 32-bit JDK8, should also can't run? JDK version span too big
it is no good, low version of the JVM can not execute programs made up high version

Compile time elect in alternative to apply the JAVA version, the high version of the JDK version can compile low class files
  • Related