PPA method is easier and faster than manual installation.
Once you finish this tutorial, you Ubuntu 16.10 system will have the following:export J2SDKDIR=/usr/lib/jvm/java-8-oracle export J2REDIR=/usr/lib/jvm/java-8-oracle/jre export PATH=$PATH:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin export JAVA_HOME=/usr/lib/jvm/java-8-oracle export DERBY_HOME=/usr/lib/jvm/java-8-oracle/db That’s it!
It is based on the Open JDK with the addition of some closed-source components.
wget --header "Cookie: oraclelicense=accept-securebackup-cookie" sudo mkdir /opt/jdk sudo tar -zxf jdk-8u71-linux-x64gz -C /opt/jdk/ rm jdk-8u71-linux-x64gz Ubuntu 13.10 is end-of-live and has been since July of 2014.
Or if you don't want to upgrade you'll need to attempt a manual installation like I liked in the original answer.$ cd /tmp $ wget
Auth Param\=1458001079_a6c78c74b34d63befd53037da604746c $ tar xzf jdk-8u74-linux-x64gz?
If you want to run a program written in Java, then you will need to install JRE (Java Runtime Environment); if you want to begin developing Java programs, then you also need to install JDK (Java Development Kit) which includes JRE, no matter what operating system you use.
We’ll also cover Open JDK, an open-source alternative to the Oracle Java development kit.
Java is one of the world’s most popular programming languages.
Java can be used to create anything from software to basic web applications.
You can also follow us on Google , Twitter or like our Facebook page.
This documentation is targeted at Ubuntu 12.04 LTS. If you need to install Java on Ubuntu systems, there are two main choices, Open JDK and Oracle Java/JDK.