Open Jasmine-liang opened 3 years ago
See what's installed: archlinux-java status Get a name of version you want to use, then issue this command, sudo archlinux-java set JAVA-X-JDK JAVA-X-JDK is the name of the result from the status command.
archlinux-java status
sudo archlinux-java set JAVA-X-JDK
Then you can use this command to see your java version. java -version
java -version
See what's installed:
archlinux-java status
Get a name of version you want to use, then issue this command,
sudo archlinux-java set JAVA-X-JDK
JAVA-X-JDK is the name of the result from the status command.