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.
- Install Oracle ( Sun ) Java 6 JRE / JDK in Ubuntu 12.10
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
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