Install Oracle Java 7/8 On Fedora And CentOS
If you want to install Java on Ubuntu, you can find a tutorial here.
Firstly you will have to download the packages for installing Java on your system. You can find the JDK 7 here / JRE 7 here and JDK 8 here / JRE 8 here. These packages will be in rpm form (.rpm) and you will have to check the architecture as well i.e 32 bit or 64 bit.While downloading you will have to accept the License Agreement to download.
The installation will be done using following commands –
“rpm -Uvh /path/jdk-version-linux-architecture.rpm”
Eg “rpm -Uvh /home/user/Downloads/jdk-8u111-linux-x64.rpm”
Steps for Oracle Java JDK 7 (32 bit)
“rpm -Uvh /path/jre-version-linux-architecture.rpm”Steps for Oracle Java JRE 7 (32 bit)
For any assistance or problem ask me in the comment box.