deployment.jvm.arguments.whitelist
Posted: 11 Mar 2024, 11:02
We are upgrading a legacy system to JDK17 from JDK 8. We have few errors with a third-party library. We have to add --add-exports java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED to JVM args.
We have added deployment.jvm.arguments.whitelist=--add-exports java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED to deployment.properties.
But we still see the following warning in the console
Ignoring java-vm-args due to illegal Property java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED
Does anyone use deployment.jvm.arguments.whitelist successfully?
Thanks.
We have added deployment.jvm.arguments.whitelist=--add-exports java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED to deployment.properties.
But we still see the following warning in the console
Ignoring java-vm-args due to illegal Property java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED
Does anyone use deployment.jvm.arguments.whitelist successfully?
Thanks.