Jasmine-liang / gitblog

"Peope Die, But Long Live Github"
0 stars 0 forks source link

Switch Java Version on Archlinux #6

Open Jasmine-liang opened 3 years ago

Jasmine-liang commented 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.

Jasmine-liang commented 3 years ago

Then you can use this command to see your java version. java -version