You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When starting the server for spigot 1.19.3 (and any other 1.19 i suspect) it fails to launch with error
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
After tracking it down, the reason is JDK download URL in /usr/local/bin/set_java_ver is wrong.
When downloading Java 18 (the expected version for 1.19), the script is trying to download from https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.1%2B10/OpenJDK18U-jdk_x64_linux_hotspot_18.0.2.1_1.tar.gz which doesn't exist, as it is trying to download version 18.0.2 from the release tag for 18.0.1.
The correct url should be either https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.1%2B10/OpenJDK18U-jdk_x64_linux_hotspot_18.0.1_10.tar.gz [tested and working]
or https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_linux_hotspot_18.0.2.1_1.tar.gz [not tested]
The text was updated successfully, but these errors were encountered:
When starting the server for spigot 1.19.3 (and any other 1.19 i suspect) it fails to launch with error
After tracking it down, the reason is JDK download URL in
/usr/local/bin/set_java_ver
is wrong.When downloading Java 18 (the expected version for 1.19), the script is trying to download from
https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.1%2B10/OpenJDK18U-jdk_x64_linux_hotspot_18.0.2.1_1.tar.gz
which doesn't exist, as it is trying to download version 18.0.2 from the release tag for 18.0.1.The correct url should be either
https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.1%2B10/OpenJDK18U-jdk_x64_linux_hotspot_18.0.1_10.tar.gz
[tested and working]or
https://github.com/adoptium/temurin18-binaries/releases/download/jdk-18.0.2.1%2B1/OpenJDK18U-jdk_x64_linux_hotspot_18.0.2.1_1.tar.gz
[not tested]The text was updated successfully, but these errors were encountered: