我们可以在Windows 32位计算机上运行使用long
和double
类的64位数据类型的Java程序吗?
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.