Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
java9install
[centos@localhost ~]$ 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/9.0.1+11/jdk-9.0.1_linux-x64_bin.rpm"
--2017-11-25 02:08:00-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.rpm
Resolving download.oracle.com (download.oracle.com)... 2.20.189.226, 2.20.190.214
Connecting to download.oracle.com (download.oracle.com)|2.20.189.226|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.rpm [following]
--2017-11-25 02:08:01-- https://edelivery.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.rpm
Resolving edelivery.oracle.com (edelivery.oracle.com)... 104.108.49.101, 2a02:26f0:ad:292::2d3e, 2a02:26f0:ad:299::2d3e
Connecting to edelivery.oracle.com (edelivery.oracle.com)|104.108.49.101|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.rpm?AuthParam=1511572201_b38f30a397e05edfb89c6bfb03854e24 [following]
--2017-11-25 02:08:01-- http://download.oracle.com/otn-pub/java/jdk/9.0.1+11/jdk-9.0.1_linux-x64_bin.rpm?AuthParam=1511572201_b38f30a397e05edfb89c6bfb03854e24
Connecting to download.oracle.com (download.oracle.com)|2.20.189.226|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 319800836 (305M) [application/x-redhat-package-manager]
Saving to: ‘jdk-9.0.1_linux-x64_bin.rpm’
100%[======================================================================================================================================>] 319,800,836 2.64MB/s in 1m 56s
2017-11-25 02:09:58 (2.64 MB/s) - ‘jdk-9.0.1_linux-x64_bin.rpm’ saved [319800836/319800836]
[centos@localhost ~]$ sudo yum install jdk-9.0.1_linux-x64_bin.rpm
[sudo] password for centos:
Loaded plugins: fastestmirror, langpacks
Examining jdk-9.0.1_linux-x64_bin.rpm: 2000:jdk-9.0.1-9.0.1-ga.x86_64
Marking jdk-9.0.1_linux-x64_bin.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package jdk-9.0.1.x86_64 2000:9.0.1-ga will be installed
--> Finished Dependency Resolution
base/7/x86_64 | 3.6 kB 00:00:00
docker-ce-edge/x86_64 | 2.9 kB 00:00:00
docker-ce-stable/x86_64 | 2.9 kB 00:00:00
docker-ce-test/x86_64 | 2.9 kB 00:00:00
epel/x86_64/metalink | 29 kB 00:00:00
extras/7/x86_64 | 3.4 kB 00:00:00
google-chrome | 951 B 00:00:00
ius/x86_64 | 2.3 kB 00:00:00
ius/x86_64/primary_db | 210 kB 00:00:00
jenkins | 2.9 kB 00:00:00
mariadb | 2.9 kB 00:00:00
sublime-text | 2.9 kB 00:00:00
updates/7/x86_64 | 3.4 kB 00:00:00
Dependencies Resolved
================================================================================================================================================================================
Package Arch Version Repository Size
================================================================================================================================================================================
Installing:
jdk-9.0.1 x86_64 2000:9.0.1-ga /jdk-9.0.1_linux-x64_bin 552 M
Transaction Summary
================================================================================================================================================================================
Install 1 Package
Total size: 552 M
Installed size: 552 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 2000:jdk-9.0.1-9.0.1-ga.x86_64 1/1
Unpacking JAR files...
plugin.jar...
javaws.jar...
deploy.jar...
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/hicolor/16x16/apps/sun-java.png’: No such file or directory
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/hicolor/16x16/apps/sun-javaws.png’: No such file or directory
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/hicolor/48x48/apps/sun-java.png’: No such file or directory
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/hicolor/48x48/apps/sun-javaws.png’: No such file or directory
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/HighContrast/16x16/apps/sun-java.png’: No such file or directory
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/HighContrast/16x16/apps/sun-javaws.png’: No such file or directory
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/HighContrast/48x48/apps/sun-java.png’: No such file or directory
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/HighContrast/48x48/apps/sun-javaws.png’: No such file or directory
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/hicolor/48x48/apps/sun-java.png’: No such file or directory
cp: cannot stat ‘/usr/java/jdk-9.0.1/lib/desktop/icons/hicolor/48x48/apps/sun-javaws.png’: No such file or directory
Verifying : 2000:jdk-9.0.1-9.0.1-ga.x86_64 1/1
Installed:
jdk-9.0.1.x86_64 2000:9.0.1-ga
Complete!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment