Hi ^_^
I usually keep to the latest java version, because I like using the new features!
But I did some light contextual testing (user story stuff) and found that a lot of pre-built server jars are not necessarily on the latest java.
This usually causes classpath issues which I think could be a block for why people haven’t started using the plugin (as it appears to not work).
Is there a sweet spot or convention I should stick to? Like, for example
- to stick 5 major releases behind, or
- stick to the next most backwards compatible release
Also, how do you check yourself in this lonely period; before you have actual server owners/testers providing these reports/feedback?
You probably want to stick to building your plugin with whichever JDK is the minimum for the minimum Minecraft version you want to support. For instance, if you want to support all the way back to 1.18, you should build with Java 17. If you only want to support 1.20.5 or later, then you can use Java 21.
thank you :D
i can also see 21 is the latest LTS version so that sounds like a good reason for that compromise too!