...
We are using the Sun/Oracle version of Java. You will want to get the Java SE JDK. As of today, the version is 7u218u45.
- Do not get the Java EE version
- Do not get the version bundled with Netbeans
- Do not get the JRE
- The Sun/Oracle website is: http://java.sun.com
- Download most recent version of the SE JDK (example assumes 8u45, 64 bit version).
- You will have the file: jdk-8u45-linux-x64.tar.gz
cd /opt
tar -zxvf PATH/jdk-8u45-linux-x64.tar.gz
- Change your path to include
/opt/jdk.1.8.0_45/bin
- Add an environment variable to point to JAVA_HOME
...