mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 21:35:17 +00:00
I placed Switching between Java Versions paragraph outside of the Installing Oracle Java SE one.
This commit is contained in:
parent
13ff192165
commit
fbdc8d4ccd
3 changed files with 20 additions and 20 deletions
|
@ -1,7 +1,7 @@
|
|||
[id='installing-oracle-java-se']
|
||||
= Installing Oracle Java SE
|
||||
|
||||
include::{partialsdir}/3rdparty-message.adoc[]
|
||||
include::{partialsdir}/3rdparty-message.adoc[]
|
||||
|
||||
To install Oracle Java SE:
|
||||
|
||||
|
@ -17,21 +17,3 @@ sudo dnf install version-downloaded.rpm
|
|||
----
|
||||
|
||||
Note: Always make sure to download latest version available.
|
||||
|
||||
== Switching between Java Versions
|
||||
|
||||
You might have installed several versions of Java on your system, you can switch from one
|
||||
|
||||
After running this command, you will see a a list of all installed Java versions, select t
|
||||
|
||||
----
|
||||
sudo alternatives --config java
|
||||
----
|
||||
|
||||
Simply enter a selection number to choose which java executable should be used by default.
|
||||
|
||||
* verify:
|
||||
|
||||
----
|
||||
java --Versions
|
||||
----
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
= Switching between Java Versions
|
||||
|
||||
You might have installed several versions of Java on your system, you can switch from one
|
||||
|
||||
After running this command, you will see a a list of all installed Java versions, select t
|
||||
|
||||
----
|
||||
sudo alternatives --config java
|
||||
----
|
||||
|
||||
Simply enter a selection number to choose which java executable should be used by default.
|
||||
|
||||
* verify:
|
||||
|
||||
----
|
||||
java --Versions
|
||||
----
|
|
@ -29,8 +29,9 @@ include::{partialsdir}/proc_installing-openjdk.adoc[leveloffset=+1]
|
|||
|
||||
include::{partialsdir}/proc_installing-oracle-java.adoc[leveloffset=+1]
|
||||
|
||||
include::{partialsdir}/ref_jdk-tools.adoc[leveloffset=+1]
|
||||
include::{partialsdir}/proc_switching-between-java-versions.adoc[leveloffset=+1]
|
||||
|
||||
include::{partialsdir}/ref_jdk-tools.adoc[leveloffset=+1]
|
||||
|
||||
[discrete]
|
||||
== Additional resources
|
||||
|
|
Loading…
Reference in a new issue