Pear Linux tutorial, tips and how to

 

How to install Oracle Java 7 on Pear Linux 7 via PPA


There is an easier way to install Oracle Java on Pear Linux 7. PPA is the easiest way to get Java installed on your Ubuntu based Linux. Thanks to webupd8 that provide the PPA so we can easily get the most updated Oracle Java version on our Linux. This short tutorial is going to show you how to install Oracle Java 7 on Pear Linux 7. You can also use this method to install Java on Ubuntu and other derivatives. Please note that this operation requires internet connection to download some additional packages. Make sure you are connected to the internet. 

Steps to install Oracle Java on Pear Linux 7

1. Add the PPA to Pear Linux
Paste this command to add webupd8 PPA to Pear Linux
sudo add-apt-repository ppa:webupd8team/java
2. Update system
sudo apt-get update
3. Install Oracle Java
sudo apt-get install oracle-java7-installer
4. Check the Java version
java -version
Thats it. On the last command, you should have the following result displayed:
dhani@dhani-pearlinux-7:~$ java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

Comments :

0 comments to “How to install Oracle Java 7 on Pear Linux 7 via PPA”