sudo apt-get install python-software-properties
For some reason or another you'll get error messages during installation if you didn't install that. After that type in:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Now it's searching for the most up-to-date version of the JDK. It will ask you several times. Just agree on Agreeing everything. Now the JDK should be on your computer. For Sanity check type in:
java -version
You should get something similar (your settings my be more up-to-date than mine) to this:
java version "1.8.0_31"
No comments:
Post a Comment