Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java 64 bit JDK question

Tags:

java

64-bit

If I compile some java files using a 64 bit JDK and then make a JAR file out of them will the resultant JAR correctly work with a 32 bit JRE, or do I have to use a 32 bit JDK?

Thanks

like image 610
Jon Avatar asked Oct 25 '10 19:10

Jon


People also ask

Does Java support 64 bit?

Java is available on Microsoft Windows in 64 and 32 bit versions, allowing users to get the appropriate version for their system. Users can even run both side-by-side for 64 bit operating systems.


1 Answers

The resultant JAR will correctly work with a 32 bit JRE. You do not need to recompile your jar.

like image 114
Julius Musseau Avatar answered Sep 20 '22 14:09

Julius Musseau