System Grab Bag

View all TLDR pages from Linux (or from all pages)

archlinux-java

Switch between installed Java environments. More information: https://wiki.archlinux.org/title/Java#Switching_between_JVM.
  • List installed Java environments:
    archlinux-java status
  • Return the short name of the current default Java environment:
    archlinux-java get
  • Set the default Java environment:
    archlinux-java set {{java_environment}}
  • Unset the default Java environment:
    archlinux-java unset
  • Fix an invalid/broken default Java environment configuration:
    archlinux-java fix

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.