Message-ID: <10466680.507.1711725686150.JavaMail.serveradmin@t01app> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_506_20358580.1711725686144" ------=_Part_506_20358580.1711725686144 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html 9.0 Zero Footprint Java on Ubuntu

9.0 Zero Footprint Java on Ubuntu

Go to the Java website, choose the 64-bit JR= E (Java Runtime Engine). Download the .tar.gz file an= d upload the file to the serveradmin home folder. For older versions of Jav= a go to the Java Archives site.

Use the account that will be launching the Java process. In this example= it will be serveradmin,

=20
su - se=
rveradmin # If you are not already serveradmin
cd ~
wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=3D=
accept-securebackup-cookie" http://download.oracle.com/otn/java/jdk/7u7-b10=
/jre-7u7-linux-x64.tar.gz
=20

The steps for JRE and JDK are both the same. Here is an example of a JRE setup,

=20
su - se=
rveradmin # If you are not already serveradmin
cd ~ # Switch to the serveradmin home directory
tar -xvpf jre-7u7-linux-x64.tar.gz
=20

The result will be an uncompressed jre directory using the same name as = the package. In this example the folder name would be, jre-7u7-linu= x-x64.

If you plan to use multiple versions of Java, we recommend keeping the f= older name with the version number information and using symbolic links. If= you are only using one version of Java, then simply rename the folder.

For the server example, we will rename the folder,

=20
mv jre-=
7u7-linux-x64 java
=20

You may be interested in how to Zero Footprint Java on Windows.

------=_Part_506_20358580.1711725686144--