• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Oracle Java 11.0.2 LTS Version on CentOS 7.6

  • 00:50 wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/j
  • 01:04 rpm -Uvh jdk-11.0.2_linux-x64_bin.rpm
  • 01:12 java -version
  • 01:22 vim /etc/environment
{{postValue.id}}

To Install Oracle Java 11.0.2 LTS Version On CentOS 7.6

Download Link :

wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie"   "http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.rpm"

Installation procedure:

Download the Java 11 version package by executing the following command.

[root@linuxhelp ~]# wget --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.rpm" 
--2019-06-07 10:57:42--  http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.rpm
Resolving download.oracle.com (download.oracle.com)... 104.108.220.248
Connecting to download.oracle.com (download.oracle.com)|104.108.220.248|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.rpm [following]
--2019-06-07 10:57:42--  https://edelivery.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.rpm
Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.57.239.203, 2600:1417:73:19a::366, 2600:1417:73:1a7::366, ...
Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.57.239.203|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.rpm?AuthParam=1559885322_9b43770132cd19d8697f0898d97fe048 [following]
--2019-06-07 10:57:43--  http://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.rpm?AuthParam=1559885322_9b43770132cd19d8697f0898d97fe048
Connecting to download.oracle.com (download.oracle.com)|104.108.220.248|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.rpm?AuthParam=1559885322_9b43770132cd19d8697f0898d97fe048 [following]
--2019-06-07 10:57:44--  https://download.oracle.com/otn-pub/java/jdk/11.0.2+9/f51449fcd52f4d52b93a989c5c56ed3c/jdk-11.0.2_linux-x64_bin.rpm?AuthParam=1559885322_9b43770132cd19d8697f0898d97fe048
Connecting to download.oracle.com (download.oracle.com)|104.108.220.248|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 161493048 (154M) [application/x-redhat-package-manager]
Saving to: ‘jdk-11.0.2_linux-x64_bin.rpm’

100%[===================================================================================================>] 161,493,048  841KB/s   in 3m 21s 

2019-06-07 11:01:07 (783 KB/s) - ‘jdk-11.0.2_linux-x64_bin.rpm’ saved [161493048/161493048]

Install the java 11 version rom package as follows:

[root@linuxhelp ~]# rpm -Uvh jdk-11.0.2_linux-x64_bin.rpm 
warning: jdk-11.0.2_linux-x64_bin.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:jdk-11.0.2-2000:11.0.2-ga        ################################# [100%]

After successful installation ,verify the version of java.

[root@linuxhelp ~]# java -version
java version "11.0.2" 2019-01-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.2+9-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.2+9-LTS, mixed mode)

Set the environment variable for java 11 version.

[root@linuxhelp ~]# vim /etc/environment
# jdk 11.0.2

export JAVA_HOME:/usr/java/jdk-11.0.2
export JAVA_PATH:/usr/java/jdk-11.0.2/bin

With this, Installation of java 11.0.2 version LTS On centOS 7.6 comes to end.

Tags:
symonds
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Does JDK 11 include JRE?

A

JRE is no longer included in Java Development Kit 11.

Q

Is Java 11 Or JDK 11 Same?

A

Yes,Java 11 or Java Development Kit 11 is same.

Q

What is an applet in JDK 11?

A

In Java Development Kit 11, An applet is a java program that runs on a web browser.

Q

What is the need of applet in Java Development Kit 11?

A

In Java Development Kit 11, an applet can be fully functional Java application because it has the entire Java API at its disposal

Q

What is the difference between the applet and application on Java Development Kit 11?

A

The main difference between Applet And Application is that applet is a small java program that can be executed by a Java-compatible web browser while the application is a standalone program that can directly run on the machine on Java Development Kit 11.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Ganesh Konka ?
Zentya 6.1 http proxy configuration

please send link for creating zentyal 6.1 for http proxy and firewall as gateway.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.