Created
November 16, 2022 09:03
-
-
Save skarnecki/d21453a838a0434cb56744573b5e19d9 to your computer and use it in GitHub Desktop.
ASDF - update java home
This file contains 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
#!/usr/bin/env bash | |
JDK_VERSION=`asdf current java|awk -v FS=' ' '{print $2}'` | |
echo "export JAVA_HOME=/Users/ext.skarnecki/.asdf/installs/java/$JDK_VERSION/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment