Closed gphg closed 1 year ago
Just that the version checker of that app is bogus. Not our issue.
Just that the version checker of that app is bogus. Not our issue.
You are right.
It was caused by this single change: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/commits/863dacb7a00f2d5d641a93951885620cbb7eb36d
String javaVersionName = System.getProperty("java.version");
// J2SE SDK/JRE Version String Naming Convention
boolean isPreRelease = javaVersionName.contains("-");
if (isPreRelease && javaVersion == 61.0) {
System.err.println("Unsupported Java detected (" + javaVersionName + "). You are running an outdated, pre-release version. Only general availability versions of Java are supported. Please update your Java version.");
return;
}
I wish there is away to change internal string of java.version
.
Similar issue #18334. Paper's based code is Spigot.
Problem description
I upgraded current Minecraft Server (PaperMC) to 1.20.1, run the jar and got this error.
But it works if I downgrade to previous version.
The other solution that upgrading is to get it running under Termux's
proot-distro
.More info on which Java Version: https://docs.papermc.io/paper/getting-started
What steps will reproduce the bug?
openjdk-17
installed (Termux has no other version than this).java -Xms2G -Xmx2G -jar paper.jar --nogui
What is the expected behavior?
A Minecraft Server run normally.
System information
termux-info: