Wednesday, June 20, 2012

How To Install Oracle Java 7 on Ubuntu 12.04 LTS Precise Pangolin via PPA

Java-based application is very popular nowadays, it's because Java-based applications can run on any operating system e.g. Windows, Linux, and Mac with JRE (Java Runtime Environment) installed. Recently, I wrote some Java-based applications in Ubuntu Buzz! Most of those applications work well with OpenJDK/JRE. But, if you want to use Oracle Java instead of the "open" solution, you can do it easily. For your information, Oracle Java is no longer available on Ubuntu repositories because some changes in Java license. Fortunately, there is a script which can automatically download and install the latest Oracle Java on Ubuntu.


Please note that you might encounter problem when installing this script, so please be patient and make sure that there is no problem with your Internet connection.

Install Oracle Java 7 on Ubuntu 12.04 LTS Precise Pangolin
  • sudo add-apt-repository ppa:webupd8team/java -y
  • sudo apt-get update
  • #install JRE (Java Runtime Environment)
  • sudo apt-get install oracle-java7-installer
  • #install JDK (Java Development Kit)
  • sudo apt-get install oracle-jdk7-installer
Well, as I said before, it will install Oracle Java 7 and Java browser plugin on Ubuntu.

Via: WebUpd8

0 comments:

Post a Comment