The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Posts: 1
Joined: 27 Feb 2024, 03:49


Post by wolf »

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/ to JVM args.
We have added deployment.jvm.arguments.whitelist=--add-exports java.desktop/ to
But we still see the following warning in the console
Ignoring java-vm-args due to illegal Property java.desktop/
Does anyone use deployment.jvm.arguments.whitelist successfully?

Janak Mulani
Posts: 817
Joined: 24 Mar 2020, 13:37

Re: deployment.jvm.arguments.whitelist

Post by Janak Mulani »

In the jnlp file you should specify:

Code: Select all

<java version="17"	java-vm-args="   --add-exports=java.desktop/ .. "
There should be '=' after --add-exports. There is no need of a whitelist entry for this arg.

Post Reply