Installing Sun / Oracle Java on Linux

GmailVault for Linux requires Oracle Java SE 6 (either the JDK or the JRE) to be present on your system.

If not already present, it’s a simple matter to install using your distribution’s package manager. Here we list instructions and pointers for the some distributions.

Ubuntu 12.04, 12.10, 13.04

1. sudo add-apt-repository ppa:webupd8team/java
2. sudo apt-get update
3. sudo apt-get install oracle-java6-installer

If you already have some other version of Java or another JDK (like OpenJDK) already installed on your system, then set the newly downloaded Oracle Java to be the default on the system, with the following command:

4. sudo update-alternatives –config java

CentOS 6.2

Download the JDK or JRE RPMs (current version is JDK 6 Update 45) from the following link (free registration may be needed):

Note: Select the appropriate rpm.bin package (example jdk-6u45-linux-i586-rpm.bin, jre-6u45-linux-i586-rpm.bin, jdk-6u45-linux-x64-rpm.bin or jre-6u45-linux-x64-rpm.bin).

1. Become root: su -
2. sh jdk-6u45-linux-*-rpm.bin
3. alternatives –install /usr/bin/java java /usr/java/jdk1.6.0_45/jre/bin/java 20000


This instruction set will grow over time, so in case you’ve run GmailVault successfully on a Linux distribution not mentioned above, please do share your feedback and instructions for the benefit of other users.


Tagged with: ,
Posted in General, Setup

Leave a Reply

Your email address will not be published. Required fields are marked *


nine + 8 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>