-
Notifications
You must be signed in to change notification settings - Fork 127
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
Add Java 8 compatibility checks to CI #1979
Comments
HI @tsmalls93 |
I had the same issue, to resolve this I had upgraded my Java on the server to JDK11. good to have the java 8 support |
Out of curiosity, why are you still running on Java 8 for server applications? |
We use IBM WebSphere Liberty and you can only have one Java EE runtime at a time with that product. We have hundreds of applications, so it is not practical to update them all at once. We are working towards a Cloud Native architecture with Quarkus, but we are stuck with what we have until then. |
If this error can be caught at compile time, does it make sense to update the CI to probably run on Java 8 as well? |
Makes sense to rollback for now. |
@tsmalls93 this should be working from |
Thanks @Ndiritu, it is working now. |
Re-opening to track CI changes. |
Expected behavior
The SDK should work with Java 8 according to the Readme.
Actual behavior
I received the following error:
java.lang.UnsupportedClassVersionError: JVMCFRE199E bad major version 55.0 of class=jakarta/annotation/Resource, the maximum supported major version is 52.0; offset=6
Steps to reproduce the behavior
Run an app that uses javax.javaee-api 7.0 on Open Liberty that uses the SDK on version 6.6.0 or later.
The text was updated successfully, but these errors were encountered: