mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 23:06:36 +00:00
18 lines
742 B
Text
18 lines
742 B
Text
[id='installing-oracle-java-se']
|
|
= 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].
|
|
|
|
. 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].
|
|
|
|
. Accept the license agreement and download the appropriate rpm file for your systems architecture. For example, if you run 64-bit Fedora, choose the `jdk-8u151-linux-x64.rpm` file.
|
|
|
|
. Enter the following command to install Oracle Java SE:
|
|
+
|
|
----
|
|
# dnf install jdk-8u151-linux-x64.rpm
|
|
----
|
|
|
|
include::proc_installing-openjdk.adoc[tags=java-alternatives]
|