Go to the Java website, choose the JRE or JDK based on your platform and needs. Download the requisite 64-bit JRE (Java Runtime Engine). Download the .tar.gz file and upload the file to the serveradmin home folder. For older versions of Java go to the Java Archives site.
Note |
---|
Originally, I had endorsed using 32-bit Java on 64-bit Ubuntu. Though I have not had a chance to do performance testing, with Cloud computing and lack of documention on 32-bit Java, it's time to move to 64-bit Java. |
Use the account that will be launching the Java process. In this example it will be serveradmin,
Code Block | ||
---|---|---|
| ||
su - serveradmin # If you are not already serveradmin
cd ~
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn/java/jdk/7u7-b10/jre-7u7-linux-x64.tar.gz |
...