mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 13:32:42 +00:00
17 lines
386 B
Text
17 lines
386 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 list of all installed Java versions, select:
|
|
|
|
----
|
|
sudo alternatives --config java
|
|
----
|
|
|
|
Simply enter a selection number to choose which java executable should be used by default.
|
|
|
|
* verify:
|
|
|
|
----
|
|
java -version
|
|
----
|