MCProtocolLib icon indicating copy to clipboard operation
MCProtocolLib copied to clipboard

Bumping Java software version

Open Camotoy opened this issue 3 years ago • 7 comments

We'd like to bump the Java version used in MCProtocolLib and its dependencies to, ideally, Java 16 (to be in line with Java Edition itself). For users of this library, please let us know if that works for your setup or if it's inconvenient.

Camotoy avatar Sep 23 '21 20:09 Camotoy

Personally, I would find this a good adjustment, which I would welcome very much.

Newspicel avatar Sep 26 '21 11:09 Newspicel

Trying to switch all my/my orgs projects to Java 16, this would be a welcome change!

tycrek avatar Oct 20 '21 00:10 tycrek

If this is also a matter of: https://github.com/GeyserMC/PacketLib/; I need that to stay on Java 11, because I cannot find newer for ARMv6. So I have no issue with this bump, but I would be happy if you wouldn't bump PacketLib.

kyngs avatar Oct 23 '21 14:10 kyngs

If this is also a matter of: https://github.com/GeyserMC/PacketLib/; I need that to stay on Java 11, because I cannot find newer for ARMv6. So I have no issue with this bump, but I would be happy if you wouldn't bump PacketLib.

Why not upgrade to better/newer hardware? Are you using an RPi Zero?

MrZomka avatar Oct 23 '21 15:10 MrZomka

I'm going to have to disagree with this. Bumping the Java version of a library for the sake of keeping it in line with Java Edition, but not using any of the new language features is not worth it. There may also be Android developers that use this library, and moving to Java 16 could make it incompatible.

SupremeMortal avatar Oct 23 '21 16:10 SupremeMortal

If this is also a matter of: https://github.com/GeyserMC/PacketLib/; I need that to stay on Java 11, because I cannot find newer for ARMv6. So I have no issue with this bump, but I would be happy if you wouldn't bump PacketLib.

Why not upgrade to better/newer hardware? Are you using an RPi Zero?

Yes, I use an RPi zero, even that is overkill for the task. I am glad that I even managed to find Java 11 for it.

kyngs avatar Oct 23 '21 16:10 kyngs

I would find the change inconvenient for my usage. I have to agree with SupremeMortal.

MatteCarra avatar Dec 04 '21 18:12 MatteCarra

image It appears java 17 has been released for raspberry pi zeroes.

AlexProgrammerDE avatar Oct 08 '23 17:10 AlexProgrammerDE

MCProtocolLib now uses Java 17.

Camotoy avatar Dec 19 '23 18:12 Camotoy

Release 1.20.4-1 targets Java 8. Anything forward requires Java 17.

Konicai avatar Dec 19 '23 19:12 Konicai