简体   繁体   中英

Install 32-bit JDK on Natty 64-bit, I

I want to install Oracle's JDK (32 bit version) under Ubuntu Natty (64 bit version). While there is a package for JRE (32 bit version), I want JDK (32 bit version).

I want to avoid the installer provided with the .bin file, and rather use a .deb file. However, it seems the package java-helper has disappeared in Natty. What can I do?

The Java compiler produces byte code which is same whether you use the 32-bit or 64-bit JDK and plan to use the 32-bit or 64-bit JRE.

The bit-ness of the JDK and JRE don't have to be the same and its unlikely you will notice the difference. (The maximum memory is possibly the main one)

The JDK installation can be treated as 'zip' installation, which means that the installer simply unzips the content of jdk to the target directory on your machine. You can try to copy-paste the required jdk directory to your machine and probably set JAVA_HOME variable if needed. The above should do the magic.

Happy coding!

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM