quick-docs/modules/ROOT/pages/_partials/proc_installing-oracle-java.adoc

19 lines
836 B
Text
Raw Normal View History

2018-01-01 16:22:37 +00:00
[id='installing-oracle-java-se']
2017-12-14 17:07:39 +00:00
= Installing Oracle Java SE
To install Oracle Java SE:
. Navigate to link:http://www.oracle.com/technetwork/java/javase/downloads[Oracle Java SE downloads page].
2018-01-01 16:22:37 +00:00
. Choose the version of Java you wish to use. Typically, you would navigate to the link:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html[version 8 page].
2019-03-27 14:34:19 +00:00
. Accept the license agreement and download the appropriate tar.gz file for your systems architecture. Do NOT use Oracle rpms as these are NOT compatible with fedora/openjdk packages. Download tar.gz instead and unpack it somewhere.
2018-01-01 16:22:37 +00:00
2019-03-27 14:34:19 +00:00
. Use tar to unpack downloaded archive e.g.:
2017-12-14 17:07:39 +00:00
+
----
2019-03-27 14:34:19 +00:00
# tar -xvzf jdk-8u201-linux-x64.tar.gz
2017-12-14 17:07:39 +00:00
----
2018-01-01 16:22:37 +00:00
2019-03-27 14:34:19 +00:00
Note that jdk-8u201-linux-x64.tar.gz is used as example only. Always make sure to download latest version available.