Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Differences of JDK x86 and JDK x64

932808Apr 24 2012 — edited Apr 24 2012
Dear all,

I am in the progress on studying Java update with existing program.

For previous, the program is complied in eclipse under JDK 1.4.2.

We are now updating the JRE and JDK 1.6 update 30, however, there are several questions. Most appreciated if any one can provide a direction or guidance on it.

1. As my understanding, Java should be able to compile and run under x86 and x64 platform, and it should be no difference on the compiled classes. The only difference should be x86 JVM and x64 JVM (for example, x86 JVM has better than x64 JVM, and x64 JVM should be support larger address range than x86 JVM). If not, what will be differences among classes compiled under x86 and that of x64?

2. The x86 classes can be executed under x64 JVM. Can the x64 classes be executed under x86 JVM? Although, the classes will be read into byte stream into VM...

3. If we need the x64 classes to execute under x86 environment, what should we do? If the x64 classes cannot be run in x86 JVM.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2012
Added on Apr 24 2012
4 comments
8,175 views