2020-11-01 14:24:45 +00:00
|
|
|
# archlinux-java
|
|
|
|
|
2023-06-30 06:45:11 +01:00
|
|
|
> Switch between installed Java environments.
|
|
|
|
> More information: <https://wiki.archlinux.org/title/Java#Switching_between_JVM>.
|
2020-11-01 14:24:45 +00:00
|
|
|
|
|
|
|
- List installed Java environments:
|
|
|
|
|
|
|
|
`archlinux-java status`
|
|
|
|
|
2023-06-30 06:45:11 +01:00
|
|
|
- Return the short name of the current default Java environment:
|
|
|
|
|
|
|
|
`archlinux-java get`
|
|
|
|
|
2020-11-01 14:24:45 +00:00
|
|
|
- Set the default Java environment:
|
|
|
|
|
|
|
|
`archlinux-java set {{java_environment}}`
|
|
|
|
|
|
|
|
- Unset the default Java environment:
|
|
|
|
|
|
|
|
`archlinux-java unset`
|
|
|
|
|
2023-06-30 06:45:11 +01:00
|
|
|
- Fix an invalid/broken default Java environment configuration:
|
2020-11-01 14:24:45 +00:00
|
|
|
|
|
|
|
`archlinux-java fix`
|