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

Move to Java 11 #2242

Closed
vertigo17 opened this issue Mar 5, 2021 · 3 comments
Closed

Move to Java 11 #2242

vertigo17 opened this issue Mar 5, 2021 · 3 comments

Comments

@vertigo17
Copy link
Member

vertigo17 commented Mar 5, 2021

Move the project to Java 11 compilation.
Today it compile anfd runs fine in Java 11 but pom still point to Java 8.

@MorganLmd
Copy link
Member

@vertigo17
Copy link
Member Author

Will wait until confirmation from Redoute that 11 is nice to proceed.

@vertigo17
Copy link
Member Author

As a reference and for debug purpose:

49 = Java 5
50 = Java 6
51 = Java 7
52 = Java 8
53 = Java 9
54 = Java 10
55 = Java 11
56 = Java 12
57 = Java 13
58 = Java 14
59 = Java 15
60 = Java 16
61 = Java 17
62 = Java 18
63 = Java 19
64 = Java 20
65 = Java 21

in case you get:
Caused by: java.lang.UnsupportedClassVersionError: org/cerberus/core/config/CerberusConfiguration has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [org.cerberus.core.config.CerberusConfiguration])

That means that commilation was made with java 11 and runtime is in java 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants