I want to add few jvm arguments to support java 11 . These arguments are mostly related to access module & package. For example
--add-opens=java.base/sun.misc=ALL-UNNAMED .
I also want to set the default locale java.locale.providers to COMPAT,SPI
I have set this in the jnlp file but when I launch application using IcedTea , these configuration are not applied.
<property name="java.locale.providers" value="COMPAT,SPI"/>
<j2se version="11" java-vm-args="--add-opens=java.base/sun.misc=ALL-UNNAMED" />
I found another way to apply above configuration by adding it to the itw-modularjdk.args file located inside C:\Program Files\IcedTeaWeb\WebStart\bin. But updating itw-modularjdk.args file is not ideal solution for us, since all our clients needs to manually update their icedTea configuration.
Is there any way to solve the above problem programmatically ?
I want to add few jvm arguments to support java 11 . These arguments are mostly related to access module & package. For example
--add-opens=java.base/sun.misc=ALL-UNNAMED.I also want to set the default locale
java.locale.providerstoCOMPAT,SPII have set this in the jnlp file but when I launch application using IcedTea , these configuration are not applied.
I found another way to apply above configuration by adding it to the
itw-modularjdk.argsfile located insideC:\Program Files\IcedTeaWeb\WebStart\bin. But updatingitw-modularjdk.argsfile is not ideal solution for us, since all our clients needs to manually update their icedTea configuration.Is there any way to solve the above problem programmatically ?