Install Oracle Server JRE 8 on Ubuntu 14.04 Trusty 64-bit
The Guide shows you in Easy-Steps How to Install and Getting-Started with the Oracle-Sun Official Java SE JRE 8 64-bit for Ubuntu 14.04 Trusty Tahr LTS amd64 Server.
The Server JRE includes tools for JVM monitoring and tools commonly required for server applications, but does not include browser integration (the Java plug-in).
After Installing you will need to Use the update-alternatives Tool to Update your System Java to 1.8 JRE8.
To the Oracle JRE 8 Installation Ubuntu 14.04 Trusty Server Bottom there is a Link to Installing Oracle JDK 8 and Eclipse for Java Developers for Ubuntu.
The Contents and Details of How to Install Oracle JRE 8 on Ubuntu 14.04 Trusty Server are Expressly Essentials to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)
-
Download Oracle Server Java SE JRE 8 for Linux.
-
Login into Shell.
-
Extract Oracle JRE8 Archive and Extract into /tmp
tar xvzf jre-8*.tar.gz -C /tmp/
-
Relocate Oracle JRE 8
sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
To Make a jvm Directory Only if Not already there
(You can directly copy & paste the commands into the terminal)if [ ! -d "/usr/lib/jvm" ]; then mkdir /usr/lib/jvm; fi
mv /tmp/jre1.8* /usr/lib/jvm/
-
Update System Java to Oracle JRE8
update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.8*/bin/java 1065
update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jre1.8*/bin/javaws 1065
exit
Checking or Setting the System Java Version in Use
withupdate-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
How to Install Oracle-Sun JDK 8 on Ubuntu Linux
Now Thanks to Oracle-Sun Corporation you are able to Successfully Start with Java JRE 8 Use & Development.