0

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

Jonny Henly
  • 4,023
  • 4
  • 26
  • 43
Dilip Kumar
  • 65
  • 1
  • 10

1 Answers1

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

Community
  • 1
  • 1
Heri
  • 4,368
  • 1
  • 31
  • 51