Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Java 11 support #25

Closed
2 tasks done
Mike5357 opened this issue Jun 15, 2022 · 3 comments
Closed
2 tasks done

[FEATURE] Java 11 support #25

Mike5357 opened this issue Jun 15, 2022 · 3 comments
Labels
wontfix This will not be worked on

Comments

@Mike5357
Copy link

I have checked that...

  • ...such a feature does not exist already
  • ...such a feature request has not been submitted already

Description

Currently HMCCosmetics is compiled with Java 16, and will not load on Java 11.
java.lang.UnsupportedClassVersionError: io/github/fisher2911/hmccosmetics/HMCCosmetics has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Now- before just telling me to update Java, I would if I could! However I am running a Hybrid 1.16.5 server (Arclight) with the core mod we use (Pixelmon) only supporting up to Java 11, which means that at this time I cannot use the plugin :(

Config Changes

No response

@Toinetoine1
Copy link

You can clone the project and recompile it using Java 11

@Mike5357
Copy link
Author

You can clone the project and recompile it using Java 11

I tried to do so, but there are many functions (namely switch/case expressions) that are Java 13+ currently. Those were easy to convert myself, but then I ran into modelengine and packetevents loading errors, and its now beyond my level of understanding to fix myself lol

@Fisher2911
Copy link
Collaborator

I would try asking the developer of the mod to update their Java version, it is easier to update Java than to downgrade it.

@LoJoSho LoJoSho added the wontfix This will not be worked on label Nov 29, 2022
@LoJoSho LoJoSho closed this as completed Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

4 participants