Java Runtime on ver. 1.20.1

Mainly talking about DHsupport plugin Quick recap on my setup: -Prox -Devian VM -Crafty Controller -Minecraft paper 1.20.1 -Running Plugins X Forge Mods Now the issue is that while there is a DH-support plugin for 1.20.1 and i tried most available public versions the compatible ones seem to all run on Java 21 My Server is running on Java 17 which i cannot upgrade due to various mods that would break then. I haven't seen any Solution for this unless i am blind for which i would apologise Log: Could not load 'plugins/DistantHorizonsSupport-Bukkit-Paper-0.10.0-1.20.1.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: no/jckf/dhsupport/bukkit/DhSupportBukkitPlugin has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 61.0
9 Replies
Jckf
Jckf6d ago
If you are familiar with Java dev and Gradle, then you can try to compile it with Java 17 yourself by changing this line. Although I cannot tell you if that will succeed.
Miki_P98
Miki_P986d ago
Why would mods/plugins break on newer JAVA? Java is backwards compatible, of the mods decide they just don’t want to run on Java 21 that is their problem
Toxlemon
ToxlemonOP5d ago
i have no idea of java coding sadly i take it then that there is no java 17 ver.?
Jckf
Jckf5d ago
Not currently, no. You're the first to ask for it
Toxlemon
ToxlemonOP5d ago
YOOOOOOO I GOT AWSOME NEWS Yesterday i went on a Hyperfocus spree and learned some stuff well the result now is that i made it Java 17 Minecraft 1.20.1 compatible
Toxlemon
ToxlemonOP5d ago
No description
Toxlemon
ToxlemonOP5d ago
Thanks for the support tho guys
Jckf
Jckf5d ago
Nice :) Did you have to change anything other than the line I linked?
Toxlemon
ToxlemonOP5d ago
i ended up taking the whole zip and go from there but yeah it was mostly just the cradle and then using the JDK 17 to

Did you find this page helpful?