-
-
Save tfield/7617edad0ee8087836510ed95ecaf7c6 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
echo "ensuring that jenv config directories exist" | |
mkdir -p $HOME/.jenv/versions | |
echo "removing current jenv java's to re-add them freshly" | |
jenv versions --bare | xargs -n1 jenv remove | |
echo "adding all sdkmans java versions to jenv" | |
find $HOME/.sdkman/candidates/java -maxdepth 1 -mindepth 1 -type d -exec jenv add '{}' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment