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

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