Skip to content

Commit

Permalink
fix copy pasta error in set_java_ver
Browse files Browse the repository at this point in the history
  • Loading branch information
CSchank authored Jun 7, 2022
1 parent 6da2198 commit 608c471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rootfs/usr/local/bin/set_java_ver
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function set_java_18 () {
curl -L https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.1%2B10/OpenJDK18U-jdk_x64_linux_hotspot_18.0.1_10.tar.gz | tar xz -C /usr/lib/jvm
fi

echo "set java version to 17"
echo "set java version to 18"
rm -f /usr/lib/jvm/default-jvm
ln -s /usr/lib/jvm/jdk-18* /usr/lib/jvm/default-jvm

Expand Down

0 comments on commit 608c471

Please sign in to comment.