1. Install ORACLE JAVA-1.8 using below commands
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer
2. Verify ORACLE JAVA-1.8 using below command
java -version
3. Install OPENJDK JAVA-1.8 using below commands
sudo apt-get update
sudo apt-get install openjdk-8-jdk
4. Verify OPENJDK JAVA-1.8 using below command
java -version
Share this article with your friends.
No comments :
Post a Comment