Because you have to go to Cs61b:data structures This course (which is said to be a god Class), you have to install Java. Then sudo apt-get install openjdk-8-jdk This command to find locate. Then found to be Ubunbu 14.04 not so high version. But there was a wave of learning during the search.
1. See which JDK versions are available in the APT library:
Apt-cache Search
Find packages, similar to Rpm-qa|grep package_name
| pipe character
grep Lookup Command
2. Discovery of up to 7 versions of
sudo apt-get install OPENJDK-7-JDK
-----Split Line-----
Halfway through the detour, directly record what you learned:
Add Add Ppa:sudo add-apt-repository Ppa:webupd8team/java
Delete Ppa:sudo add-apt-repository--remove Ppa:webupd8team/java
Reference: http://vvxyz.blog.51cto.com/809437/1642258
Http://askubuntu.com/questions/307/how-can-ppas-be-removed
Installing Java under Linux