Last active
February 20, 2025 15:00
Revisions
-
tommysdk revised this gist
Mar 3, 2020 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ # Show all installed Java versions /usr/libexec/java_home -V # Select major version (if unique, otherwise specify full name e.g. 1.8.0_131) set -x JAVA_HOME (/usr/libexec/java_home -v 1.8) # Verify -
tommysdk revised this gist
Jan 23, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,7 +4,7 @@ /usr/libexec/java_home -V # Select major version (if unique, otherwise speify full name e.g. 1.8.0_131) set -x JAVA_HOME (/usr/libexec/java_home -v 1.8) # Verify java -version -
tommysdk created this gist
Apr 26, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ # Based on https://stackoverflow.com/a/26252993/1665539 # Show all installed Java versions /usr/libexec/java_home -V # Select major version (if unique, otherwise speify full name e.g. 1.8.0_131) set JAVA_HOME (/usr/libexec/java_home -v 1.8) # Verify java -version