Total Pageviews

Donate

Nov 18, 2015

Install JDK on Ubuntu

Maybe since Oracle is responsible for Java, and every time I install an Ubuntu machine I struggle for few minutes to install the JDK. Thus, I decided to write this extremely short post about how to do it.

All what we need is to add the correct repository and then install it like any other app with apt-get install.

Here are the commands:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
That's all folks :)

Donate