quick-docs/modules/ROOT/pages/_partials/proc_switching-between-java-versions.adoc

18 lines
386 B
Text
Raw Normal View History

= 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:
----
2022-03-13 16:02:50 +00:00
java -version
----