JDK 64位还是32位? [英] JDK 64bit or 32bit?
问题描述
我的电脑使用的是Windows 7 64位。但是部署我的jsp Web应用程序的服务器是32位。
My pc is using Windows 7 64 bit. But the server where my jsp web applications will be deployed is 32 bit.
我是否需要在我的PC中安装32位JDK / JRE才能开发?我正在使用Eclipse。
Do I need to install 32bit JDK/JRE in my PC to develop? I'm using Eclipse.
非常感谢。
推荐答案
您绝对不需要安装32位JRE才能开发。您构建的Java代码不会有任何64位的跟踪。 (我假设你没有使用JNI,这会使问题复杂化。)
You definitely don't need to install a 32-bit JRE in order to develop. The Java code that you build won't have any trace of your 64-bit-ness. (I'm assuming you're not using JNI, which would complicate matters somewhat.)
你可能想要安装32位JRE用于测试目的 - 确保您不会尝试使用超过2GB的内存等。
You may want to install a 32-bit JRE for testing purposes though - to make sure you're not trying to use more than 2GB of memory etc.
这篇关于JDK 64位还是32位?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!