xpipe-mirror/setup.sh

15 lines
276 B
Bash
Raw Normal View History

2023-08-09 05:51:57 +00:00
#!/bin/bash
which sdk
if [ $? -ne 0 ]; then
curl -s "https://get.sdkman.io" | bash
if [ $? -ne 0 ]; then
2023-07-19 10:17:20 +00:00
echo "sdkman failed"
exit 1
fi;
. "$HOME/.sdkman/bin/sdkman-init.sh"
fi;
2024-02-13 12:28:08 +00:00
sdk install java 21.0.2-graalce
sdk default java 21.0.2-graalce