Blogs

How to install Java 8 OpenJDK

In order to install the Java 8 SDK, we can follow two procedures

First Option

1. Add the repository to get openjdk

sudo add-apt-repository ppa:openjdk-r/ppa

2. Update the repositories

sudo apt-get update

3. Install the openjdk-8-jdk

sudo apt-get install openjdk-8-jdk

4. Configure java 

sudo update-alternatives --config java

5. Configure javac

sudo update-alternatives --config javac

​Second Option

1. Get the jdk tar gz file

Pages

Subscribe to RSS - blogs