mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-25 13:44:51 +00:00
18 lines
390 B
Text
18 lines
390 B
Text
|
= 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
|
||
|
----
|