0

Can we run a Java program which uses 64bit datatypes like long and double on a Windows 32bit machine?

4
  • 64bit datatypes and a 64bit Java program are not the same thing, and the answer is yes. Commented Oct 7, 2016 at 18:23
  • Its not clear yet to me. Please point me to a good resource to understand better. Commented Oct 7, 2016 at 18:28
  • I'd do a google search, that should point you to many resources. Commented Oct 7, 2016 at 18:45
  • 2
    @DilipKumar Java 32-bit vs 64-bit compatibility, quora.com/… Commented Oct 7, 2016 at 19:28

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.