Install Oracle Java(JDK) 7 in Ubuntu 12.04 Precise & 11.10 Oneiric

view full story

http://ubuntuguide.net – Due to the new Java license, Oracle JDK was removed from Ubuntu repository and it doesn’t be hosted in the PPA. If you want to use Oracle Java instead of OpenJDK Java Runtime in Ubuntu. You can use private PPAs that provide installer to automatically download Oracle Java JDK 7 from its official website and install it on your computer. Note: These PPA may or may not work, use it at your own risk! First, open up a terminal window and remove OpenJDK by command: sudo apt-get purge openjdk* Then, add ppa:eugenesan/java and install Oracle Java (JDK) 7 in Ubuntu 10.04/10.10/11.04/11.10/12.04: s (HowTos)