Java is programming language that produces the software and applications for multiple platforms. When a programmer writes a program then it compiles the code which runs on multiple Operating systems like windows, Linux etc. Java runs on millions devices like mobile,software, applications , tablet etc.
Features of Java :
- Object oriented
In This Article , We’re going to install java version 8 on redhat with the help of rpm package downloaded from Oracle official sites
Package Name jdk-8u171-linux-x64.rpm And version is jdk1.8.0_171
Step 1 : Install java rpm
rpm -ivh jdk-8u171-linux-x64.rpm
Or from Yum repository
Yum install java* -y
Step 2 : Check what are the dependencies are installed along with this packages
rpm –qa java*
Go the location where java will be installed
Step 3 : Check Java Version
Now java has been installed on your Server and you can also see there will be JRE package installed as well .