Created
October 13, 2019 17:47
-
-
Save nikkatsa/f1b65f0fa5d22b34074d8f03085bcea4 to your computer and use it in GitHub Desktop.
listJDKVendors
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 characters
function listJDKVendors() { | |
echo "$($java_home -V 2>&1 | tr ' ' '\0' | tr '\t' ' ' | cut -d ' ' -f2,1)" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment