Installing Oracle jre 8 on Linux

Hi,

I am a common user on a linux cluster that has openJDK installed. For a particular software, the vendor asks for Oracle version of java installed.

How can I install the oracle version from my home space where I don't need admin privileges to install?

thanks!

Download the tarball from the vendor.
Untar it somewhere in your user home
Add something like this to your local profile (this is just an example that you have to modify)

export JAVA_HOME=$HOME/java_directory
export PATH="$JAVA_HOME/bin:$PATH"
1 Like

Thanks!