xpipe-mirror/setup.sh
2023-09-27 00:47:51 +00:00

14 lines
268 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-graalce
sdk default java 21-graalce