itzg / docker-bungeecord

A BungeeCord server to use in conjunction with itzg/minecraft-server
Apache License 2.0
189 stars 62 forks source link

Support more Java version #159

Closed MartenM closed 7 months ago

MartenM commented 7 months ago

Currently running into an issue where I use one of the newer Java versions for creating a plugin. This results in the following error:

xxx has been compiled by a more recent version of the Java Runtime (class file version 63.0), this version of the Java Runtime only recognizes class file versions up to 61.0

It would be nice if images for newer java versions could be added.

Thanks for maintaining this repository!

itzg commented 7 months ago

I can add support for a Java 21 build which will cover that class file version.

MartenM commented 7 months ago

That would be epic!

No need to hurry though. Fixed it by building for a lower version. Maybe you can automate something like 'latest SDK'.

itzg commented 7 months ago

Maybe you can automate something like 'latest SDK'.

I'm not sure what you mean exactly. Java 17 was purposely chosen as "latest" since that is what Mojang bundles with latest Minecraft version.

I'll add Java 21 since that's the latest LTS.