ubuntu logo

Ubuntu Installing Java 7 from apt-get

Spread the love
The Oracle JDK is the official JDK; however, it is no longer provided by Oracle as a default installation for Ubuntu.
You can still install it using apt-get. To install any version, first execute the following commands:

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update


Oracle JDK 7

sudo apt-get install oracle-java7-installer

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top