LiteCommands icon indicating copy to clipboard operation
LiteCommands copied to clipboard

Drop java 8 support. Bump to java 17

Open Rollczi opened this issue 1 year ago • 12 comments

Rollczi avatar Feb 13 '24 11:02 Rollczi

This is fatal for lower versions of Minecraft

huanmeng-qwq avatar Feb 13 '24 11:02 huanmeng-qwq

Higher versions of Java have many pleasant features, but this is devastating to lower version games (minigames and PVP servers that still exist in large numbers).

CarmJos avatar Mar 03 '24 08:03 CarmJos

I think Lite Commands should update to atleast Java 17 following ViaVersion. Most Minigame/PvP servers already run a fork of the notchian server that can be updated or already support J17. Also if it is required lite commands can include a version that uses https://github.com/unimined/JvmDowngrader. I would love to see J21 support to utilize virtual threads, but its not a requirement.

kermandev avatar Sep 16 '24 22:09 kermandev

I think Lite Commands should update to atleast Java 17 following ViaVersion. Most Minigame/PvP servers already run a fork of the notchian server that can be updated or already support J17. Also if it is required lite commands can include a version that uses https://github.com/unimined/JvmDowngrader. I would love to see J21 support to utilize virtual threads, but its not a requirement.

Maybe you are right. But ProtocolLib says NO.

CarmJos avatar Sep 18 '24 10:09 CarmJos

I think Lite Commands should update to atleast Java 17 following ViaVersion. Most Minigame/PvP servers already run a fork of the notchian server that can be updated or already support J17. Also if it is required lite commands can include a version that uses https://github.com/unimined/JvmDowngrader. I would love to see J21 support to utilize virtual threads, but its not a requirement.

Maybe you are right. But ProtocolLib says NO.

What do you mean?

Rollczi avatar Sep 18 '24 12:09 Rollczi

Owner Author

ProtocolLib for 1.8.8~1.12 alwasy drop errors if not using Java8 even using "Downgrader"

CarmJos avatar Sep 18 '24 13:09 CarmJos

I think Lite Commands should update to atleast Java 17 following ViaVersion. Most Minigame/PvP servers already run a fork of the notchian server that can be updated or already support J17. Also if it is required lite commands can include a version that uses https://github.com/unimined/JvmDowngrader. I would love to see J21 support to utilize virtual threads, but its not a requirement.

Maybe you are right. But ProtocolLib says NO.

What do you mean?

Of course, no matter what, I also strongly support LiteCommands upgrading to at least j17.

The new version of Java brings many syntax and performance advantages.

CarmJos avatar Sep 18 '24 13:09 CarmJos