Here’s a quick tip that shows you how to install Oracle (Sun) Java 6 JRE / JDK in Ubuntu 12.10 via PPA. If you still need Java 6 JRE/JDK  in Ubuntu 12.10, then continue below to learn how to install it.

The advantage of using PPA installer is that you get access to feature updates and bug fixes automatically when you update your system.

Objectives:

  • Install Oracle ( Sun ) Java 6 JRE / JDK in Ubuntu 12.10
  • Enjoy!

To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to add this PPA.

sudo add-apt-repository ppa:webupd8team/java

 

oracle_java_6_ubuntu12

 

Finally, run the commands below to update your system and install Oracle Java 6 (Sun Java)

sudo apt-get update && sudo apt-get install oracle-java6-installer

 

oracle_java_6_ubuntu12_1

 

Enjoy!

 

oracle_java_6_ubuntu12_2

 

                                                                                                                                       Source