archlinux-java
Neat helper script to list, set or unset default Java environment on Arch distributions.
General
Can be useful when it is required to switch between different environments.
Usage
There is not much to be said and it is quite self-explanatory, archlinux-java
outputs the following
archlinux-java <COMMAND>
COMMAND:
status List installed Java environments and enabled one
get Return the short name of the Java environment set as default
set <JAVA_ENV> Force <JAVA_ENV> as default
unset Unset current default Java environment
fix Fix an invalid/broken default Java environment configuration
Reference
Further documentation can be found at https://wiki.archlinux.org/title/java.
Last updated