Class04 Answer:

On Linux install Oracle Java.

To install Java, I need to download jdk-8u162-linux-x64.tar.gz from Oracle:

After the download, I install Java with the syntax listed below:

cd ~
tar xf ~/Downloads/jdk-8u162-linux-x64.tar.gz
ln -s jdk1.8.0_162 jdk
echo 'export JAVA_HOME=${HOME}/jdk'       >> ~/.bashrc
echo 'export PATH=${JAVA_HOME}/bin:$PATH' >> ~/.bashrc
java -version

Class04 Lab About Blog Contact Class01 Class02 Class03 Class04 Class05 Class06 Class07 Class08 Class09 Class10 dan101 Forum Google Hangout Vboxen