Installing
-
2. Downloading Oracle JRE 7
Download Oracle Java SE JRE 7 for Linux.
-
3. Installing Oracle JRE 7
And to Install Oracle Java JRE 7
Access the Target folder:cd $HOME/Downloads
Possibly, to check the Package is there:
ls | grep jre
The grep Command refine the output List showing only the entries Matching the Keyword.
But if you are in Trouble to Find it Out on Terminal See: How to Access Downloads Folder from Browser.Then to make the JRE 7 Installation simply play:
sudo rpm -ivh install ./jre-7*-linux*.rpm
Then Update System Java to Oracle JRE 7.
sudo update-alternatives --install /usr/bin/java java /usr/java/jre1.7*/bin/java 1065
sudo update-alternatives --install /usr/bin/javaws javaws /usr/java/jre1.7*/bin/javaws 1065
Checking or Setting the System Java Version in Use
with:sudo update-alternatives --config java
And for the Java Compiler instead:
sudo update-alternatives --config javac
To Switch of Java Version Just Enter the Selection Number on First, Column. :)
Last Achieve the SuperUser session:exit
Now Thanks to Oracle-Sun Corporation you are able to Successfully Start with Java JRE 7 Use & Development.
Contents