Java 17 compatibility #922
Replies: 5 comments 1 reply
-
Can you share the full build log, and confirm what GWT version you are using? This looks like the kind of error we see when someone has mixed their classpath with more than one copy of GWT, or different parts of GWT from different versions. Latest GWT (and domino) should build cleanly with at least Java 11-21. |
Beta Was this translation helpful? Give feedback.
-
It seems I had an updated branch locally that I never pushed, you can pull and update then try, as @niloc132 said it should work with java version 11-21 no issues. |
Beta Was this translation helpful? Give feedback.
-
Thanks for quick replies. I reproduce the issue with the latest version of the CRM of today.
Here is output of the mvn clean verify : "C:\Program Files\Semeru\jdk-17.0.7.7-openj9\bin\java.exe" -Dmaven.multiModuleProjectDirectory=E:\WS\tec\webapps\crm-main -Djansi.passthrough=true "-Dmaven.home=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.3\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.3\plugins\maven\lib\maven3\bin\m2.conf" "-Dmaven.ext.class.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.3\plugins\maven\lib\maven-event-listener.jar" "-javaagent:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.3\lib\idea_rt.jar=57067:C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.3\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.3\plugins\maven\lib\maven3\boot\plexus-classworlds-2.7.0.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2023.3.3\plugins\maven\lib\maven3\boot\plexus-classworlds.license" org.codehaus.classworlds.Launcher -Didea.version=2023.3.4 clean verify Process finished with exit code 1 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the additional detail. This is a known problem with the IBM JDK, their ObjectOutputStream/ObjectInputStream is apparently non-standard, but you can force it to be standard with Alternatively, use an openjdk implementation instead, which will not have this problem. |
Beta Was this translation helpful? Give feedback.
-
I switched to OpenJDK and it works fine. |
Beta Was this translation helpful? Give feedback.
-
Hi Guys,
Thank you for the great work on this library.
I'm just starting to discover it but seems a good continuation for the GWT philosophy.
Question about JDK compatibility, I failed to compile the CRM sample application with Java 17 : ClassNotFoundException: com.google.gwt.dev.jjs.ast.JPrimitiveType
But it works fine with Java 11.
The Getting Started prerequisites says : Java 11 or higher ... ?
What are the compatible JDK levels to use Domino UI 2.0.0 ?
Thanks,
Ben
Beta Was this translation helpful? Give feedback.
All reactions