on 12-04-2021 6:33 AM
When will JDK 17 be supported? Crystal Reports is the only piece of software blocking our migraiton.
Hello busitech.inc
have you tried it with JDK 17 and does it work?
We tried and are facing some problems.
This exception occured:
Caused by: java.lang.IllegalAccessError: class com.crystaldecisions.sdk.occa.report.application.ClientDocument (in unnamed module @0x55a3efe5) cannot access class sun.security.action.GetPropertyAction (in module java.base) because module java.base does not export sun.security.action to unnamed module @0x55a3efe5
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.getDefaultLocale(SourceFile:959)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.<init>(SourceFile:70)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.<init>(SourceFile:243)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We solved the problem by adding the following jvm argument to our application.
With this argument added, there are no issues when executing reports.
--add-exports java.base/sun.security.action=ALL-UNNAMED
snir_ashwal
Hello,
I'm using Tomcat. For Linux you can add the jvm argument in the variable CATALINA_OPTS like this:
export CATALINA_OPTS="-Xms256m -Xmx2048m -XX:MaxMetaspaceSize=512M -Duser.language=de -Duser.country=DE --add-exports java.base/sun.security.action=ALL-UNNAMED"
For Windows you have to open Tomcatw.exe and go to "Java". There you can add the jvm argument into the field "Java 9 Options".
Maybe it doesn't work if you add the argument at runtime. I think the application should be started with the jvm argument.
Hi Don, thank you for the notice. Does it support Java 17 (the latest JDK)?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mathew,
SP 28 was just released, it now supports log4j version 2.17.
Get it here:
https://wiki.scn.sap.com/wiki/display/BOBJ/SAP+Crystal+Reports+version+for+Eclipse+-+Downloads
PS - Follow the page to get the updates
Merry Christmas and Happy New Year
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.