Can we run a Java program which uses 64bit datatypes like long and double on a Windows 32bit machine?
-
64bit datatypes and a 64bit Java program are not the same thing, and the answer is yes.Jonny Henly– Jonny Henly2016-10-07 18:23:07 +00:00Commented Oct 7, 2016 at 18:23
-
-
Its not clear yet to me. Please point me to a good resource to understand better.Dilip Kumar– Dilip Kumar2016-10-07 18:28:01 +00:00Commented Oct 7, 2016 at 18:28
-
I'd do a google search, that should point you to many resources.Jonny Henly– Jonny Henly2016-10-07 18:45:08 +00:00Commented Oct 7, 2016 at 18:45
-
2@DilipKumar Java 32-bit vs 64-bit compatibility, quora.com/…chickity china chinese chicken– chickity china chinese chicken2016-10-07 19:28:35 +00:00Commented Oct 7, 2016 at 19:28
Add a comment
|
1 Answer 1
Yes, of course. A java program is an intermediate byte code and not platform dependant. There is no such thing like "64 bit java program". But the JVM which runs the java program is of course platform dependant. On a 32bit machine you have to use a 32bit JRE or JDK, and vice versa.
See also java-32-bit-vs-64-bit-compatibility
lang-java