mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-12-01 07:39:48 +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
|
||
|
----
|