...
Steps for JRE and JDK are both the same. Here is an example of a JRE JDK setup,
Code Block |
---|
|
su - serveradmin # If you are not already serveradmin
cd ~ # Switch to the serveradmin home directory
chmod +x jre-6u16-linux-i586.bin
./jre-6u14-linux-i586.bin # Decompresses JRE to the current folder under jre1.6.0_16. |
Note |
---|
64-bit Java is not recommended at the moment due to significant loss in performance. If 64-bit Java is used, as a convention, we recommend adding to the default folder name _64-bit. In the above example, it would be, jre1.6.0_16_64-bit. |
In order to run 64-bit Ubuntu with 32-bit Java you first need ia32-libs,
Code Block |
---|
|
svradm@ubuntu:~$ .sudo apt-get install ia32-libs # Required for 32-bit Java on 64-bit Ubuntu
|
Now you can install 32-bit Java,
Code Block |
---|
su - serveradmin # If you are not already serveradmin
cd ~ # Switch to the serveradmin home directory
chmod +x jdk-6u22-linux-i586.bin
./jdk-6u22-linux-i586.bin
Unpacking...
Checksumming...
Extracting...
./jdk-6u22-linux-i586.bin: 113: ./install.sfx.7783: not found
Failed to extract the files. Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information.
|