- Launch Terminal and type the following command sudo apt - get install python - software - properties sudo add - apt - repository ppa : webupd8team / java sudo apt - get update sudo apt - get install oracle - java8 - installer When there are multiple Java installations on your System, the Java version to use as default can be chosen. To do this, execute the following command. sudo update - alternatives -- config java sudo update - alternatives -- config javac sudo update - alternatives -- config javaws Edit - Manual Java Installation Download oracle jdk http : //www.oracle.com/technetwork/java/javase/downloads/index.html Extract zip into desired folder e . g / usr / local / after extract / usr / local / jdk1 . 8.0 _65 Setup sudo update - alternatives -- install / usr / bin / java java / usr / local / jdk1 . 8.0 _65 / bin / java 1 sudo update - alternatives -- install / usr / bin / javac javac / usr / local / jdk1 . 8.0 _65 / bin / javac 1 sudo update - alte...
I am posting here that what I have experienced in Industry Life and Personal life. I hope it will help you in some moment where you struggle with something like I was.