I placed Switching between Java Versions paragraph outside of the Installing Oracle Java SE one.

This commit is contained in:
alciregi 2020-06-04 09:27:51 +02:00 committed by ankursinha
parent 13ff192165
commit fbdc8d4ccd
3 changed files with 20 additions and 20 deletions

View file

@ -1,7 +1,7 @@
[id='installing-oracle-java-se'] [id='installing-oracle-java-se']
= Installing Oracle Java SE = Installing Oracle Java SE
include::{partialsdir}/3rdparty-message.adoc[] include::{partialsdir}/3rdparty-message.adoc[]
To install Oracle Java SE: To install Oracle Java SE:
@ -17,21 +17,3 @@ sudo dnf install version-downloaded.rpm
---- ----
Note: Always make sure to download latest version available. 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
----

View file

@ -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
----

View file

@ -29,8 +29,9 @@ include::{partialsdir}/proc_installing-openjdk.adoc[leveloffset=+1]
include::{partialsdir}/proc_installing-oracle-java.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] [discrete]
== Additional resources == Additional resources