My pc is using Windows 7 64 bit. But the server where my jsp web applications will be deployed is 32 bit.
Do I need to install 32bit JDK/JRE in my PC to develop? I'm using Eclipse.
Thank you very much.
32 bit is 4 bytes of size, whereas 64 bit is 8 bytes of size. That means 64 bit takes more memory than 32 machines. Most of the times, if your code compiles with the 32-bit JDK version, then you need to execute these class files in a 32-bit machine/64-bit machine only.
Users should use 32 bit Java and plan to use 64 bit Java later. Mozilla Firefox on Windows is 32 bit, showing 64 bit as a Tier-3 platform. Users should use the 32 bit Java to run inside Firefox. Linux is similar to Mac in that most browsers are already 64 bit. In most cases, users of 64 bit Linux should use 64 bit Java.
You just need to the Agree and Start Free Download button. However, nowadays most browsers are 64 bit and that website will offer you’re the Java 64 bit download. If you want to get the Java 32 bit download, you need to click the See all Java downloads link. Scroll down and you will see the Java 32 bit downloads.
Java is initially developed and released by Sun MicroSystems company, but in 2009, this company was acquired by Oracle company. Since then, Java has been released and maintained by the Oracle company. So, to download JDK, you should go to the official Oracle website.
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.)
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With