mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 00:41:42 +00:00
Update cheatsheets
This commit is contained in:
29
linux/archlinux-java
Normal file
29
linux/archlinux-java
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user