I was wondering if there is any plans to update the documentation for Ubuntu install as the current Method is no longer valid after April 16 when Oracle change the lic terms and you cant install Java 8 via apt any longer. Downloading and extracting the Java file from Oracle is simple but i would asume one to has to register or add some path to it since if you do a java -v you get no java found.
After some digging i found the solution.
Step 1 Go and download the x64 version of JDK 8 from oracle website which is called jdk-8u211-linux-x64.tar.gz and can be found at Oracle Java Download
Once downloaded run the below commands
tar -xvf jdk-8* sudo mkdir /usr/lib/jvm sudo mv ./jdk1.8* /usr/lib/jvm/jdk1.8.0 sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.8.0/bin/java" 1 sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.8.0/bin/javac" 1 sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.8.0/bin/javaws" 1 sudo chmod a+x /usr/bin/java sudo chmod a+x /usr/bin/javac sudo chmod a+x /usr/bin/javaws