From 41dbf40c169a592893f5d5fce998edee06fae796 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93lafur=20P=C3=A1ll=20Geirsson?= Date: Sat, 21 Sep 2019 13:00:24 +0100 Subject: [PATCH] Automatically enable SDKMAN --- bin/install-java.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/install-java.sh b/bin/install-java.sh index 99bb741..1ee8db1 100755 --- a/bin/install-java.sh +++ b/bin/install-java.sh @@ -8,3 +8,4 @@ sdk install java $(sdk list java | grep -o "$ADOPTOPENJDK\.[0-9\.]*hs-adpt" | he unset JAVA_HOME java -Xmx32m -version git fetch --tags +echo 'source "$HOME/.sdkman/bin/sdkman-init.sh"' >> $HOME/.bash_profile