I'm running through a installation guide that requires Ubuntu and JDK7. I know the latest version of Ubuntu (16.04) installs the current JDK8 via apt-get.

What is the latest version of Ubuntu that will install JDK7 via apt-get?

1 Answer 1


Looking at the packages list it shows that openjdk-7-jdk is available by default through apt-get in Ubuntu 15.10 (wily).

You can also install Oracle Java 7 via PPA as explained here:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

Also see:

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.