Slide 1
Most trusted JOB oriented professional program
DevOps Certified Professional (DCP)

Take your first step into the world of DevOps with this course, which will help you to learn about the methodologies and tools used to develop, deploy, and operate high-quality software.

Slide 2
DevOps to DevSecOps – Learn the evolution
DevSecOps Certified Professional (DSOCP)

Learn to automate security into a fast-paced DevOps environment using various open-source tools and scripts.

Slide 2
Get certified in the new tech skill to rule the industry
Site Reliability Engineering (SRE) Certified Professional

A method of measuring and achieving reliability through engineering and operations work – developed by Google to manage services.

Slide 2
Master the art of DevOps
Master in DevOps Engineering (MDE)

Get enrolled for the most advanced and only course in the WORLD which can make you an expert and proficient Architect in DevOps, DevSecOps and Site Reliability Engineering (SRE) principles together.

Slide 2
Gain expertise and certified yourself
Azure DevOps Solutions Expert

Learn about the DevOps services available on Azure and how you can use them to make your workflow more efficient.

Slide 3
Learn and get certified
AWS Certified DevOps Professional

Learn about the DevOps services offered by AWS and how you can use them to make your workflow more efficient.

previous arrow
next arrow

Java Installation Guide in Linux & Windows

java-installation-in-linux
Spread the Knowledge

DOWNLOAD JAVA PACKAGE FROM – https://jdk.java.net/archive/


Download and Install JDK/JRE 7 in Centos & RHEL

$ su -c "yum install java-1.7.0-openjdk"	# JRE Version
$ su -c "yum install java-1.7.0-openjdk-devel"	# JDK version

Download and Install JDK/JRE 8 in Centos & RHEL

$ su -c "yum install java-1.8.0-openjdk"	# JRE Version
$ su -c "yum install java-1.8.0-openjdk-devel"	# JDK version

Download and Install JDK/JRE 9 in Centos & RHEL

$ su -c "yum install java-1.9.0-openjdk"	# JRE Version
$ su -c "yum install java-1.9.0-openjdk-devel"	# JDK version

Download and Install JDK/JRE 7 in Ubuntu

$ sudo apt-get install openjdk-7-jre		# JRE Version
$ sudo apt-get install openjdk-7-jdk		# JDK version

Download and Install JDK/JRE 8 in Ubuntu

sudo apt-get install openjdk-8-jre		# JRE Version
sudo apt-get install openjdk-8-jdk		# JDK version

Download and Install JDK/JRE 9 in Ubuntu

sudo apt-get install openjdk-9-jre		# JRE Version
sudo apt-get install openjdk-9-jdk		# JDK version

Download and Install JDK/JRE 11 in RHEL/CENTOS

# Install New Version
$ yum install java-11-openjdk-devel

Download and Install JDK/JRE 11 in Ubuntu


$ sudo apt-get update
$ sudo apt-get install openjdk-11-jdk -y
$ apt install openjdk-11-jdk-headless -y 

How to Remove Java Installed?


# Remove old version
$ java -version
$ yum list installed | grep java
$ yum remove java-1.7.0-openjdk.x86_64
$ yum remove java-1.7.0-openjdk-headless.x86_64
$ yum remove java-1.8.0-openjdk.x86_64
$ yum list installed | grep java
$ yum remove java-1.8.0-openjdk-headless.x86_64
$ java -version

How to download Open Java Packages in Linux?

Location - https://openjdk.java.net/install/

Oracle's OpenJDK JDK binaries for Windows, macOS, and Linux are available on release-specific pages of jdk.java.net as .tar.gz or .zip archives.

As an example, the archives for JDK 13 may be found on jdk.java.net/13 and may be extracted on the command line using following depending on the archive type.

$ tar xvf openjdk-13*_bin.tar.gz
or
$ unzip openjdk-13*_bin.zip

How to set JAVA HOME in Linux System?

$ export JAVA_HOME=/opt/jdk1.8.0_144/
$ export PATH=/opt/jdk1.8.0_144/bin:$PATH;

How to set JAVA HOME env in Windows?


$ set JAVA_HOME "C:\Program Files\Java\jdk1.8.0"
$ set PATH "%PATH%;%JAVA_HOME%\bin";

$ setx JAVA_HOME "C:\Program Files\Java\jdk1.8.0"
$ setx PATH "%PATH%;%JAVA_HOME%\bin";

How to download Java packages from Oracle Website using Command line

$ wget –no-cookies –no-check-certificate –header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.rpm"

$ wget -c –header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm

curl -v -j -k -L -H "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-x64.rpm > jdk-8u112-linux-x64.rpm
Rajesh Kumar
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x