Skip to content

Commit

Permalink
updated installer.sh to fetch Java 21
Browse files Browse the repository at this point in the history
  • Loading branch information
albogdano committed Aug 14, 2024
1 parent 21e7bad commit 6d932d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ WORKDIR="/home/ubuntu"
JARURL="https://github.com/Erudika/scoold/releases/download/${VERSION}/scoold-${VERSION}.jar"
sfile="/etc/systemd/system/scoold.service"

apt-get update && apt-get install -y wget openjdk-11-jre &&
apt-get update && apt-get install -y wget openjdk-21-jre &&
wget -O scoold.jar ${JARURL} && \
mv scoold.jar $WORKDIR && \
chown ubuntu:ubuntu ${WORKDIR}/scoold.jar && \
Expand Down

0 comments on commit 6d932d5

Please sign in to comment.