xpipe/setup.sh
crschnick 3e7fbe89ac Merge branch prefs into master
The changes have been squashed as the commit history and messages were not very carefully crafted. There isn't that much value in preserving random commit messages.

Also due to diverging branches, rebasing or merging it was difficult.
2024-02-28 07:36:31 +00:00

15 lines
276 B
Bash
Executable file

#!/bin/bash
which sdk
if [ $? -ne 0 ]; then
curl -s "https://get.sdkman.io" | bash
if [ $? -ne 0 ]; then
echo "sdkman failed"
exit 1
fi;
. "$HOME/.sdkman/bin/sdkman-init.sh"
fi;
sdk install java 21.0.2-graalce
sdk default java 21.0.2-graalce