Skip to content

Instantly share code, notes, and snippets.

@skarnecki
Created November 16, 2022 09:03
Show Gist options
  • Save skarnecki/d21453a838a0434cb56744573b5e19d9 to your computer and use it in GitHub Desktop.
Save skarnecki/d21453a838a0434cb56744573b5e19d9 to your computer and use it in GitHub Desktop.
ASDF - update java home
#!/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