Java -Djava.locale.providers parameter not taken into account
Posted: 28 Jan 2025, 11:51
Hi,
My Java client is using Java 17. I need to activate following option:
This option is inside my JNLP file:
But when I start my app with Openwebstart, this option is not taken into account. I can see the following warnings in the OpenWebstart logs:
Obviously, OpenWebstart is using its internal JRE 8 for bootstrapping, which doesn't accept this option. Any idea on how I could solve this issue ? Thanks a lot.
My Java client is using Java 17. I need to activate following option:
Code: Select all
-Djava.locale.providers=COMPAT,CLDR
Code: Select all
<j2se version="17+" initial-heap-size="" max-heap-size="1024m" java-vm-args="-Djava.locale.providers=COMPAT,CLDR" />
Code: Select all
[ITW-CORE][2025-01-28 11:41:45.837 CET][WARN ][net.sourceforge.jnlp.Parser] Warning - your JRE - 1.8.0_412 - does not match requested JRE - 17+
[ITW-CORE][2025-01-28 11:41:45.837 CET][WARN ][net.sourceforge.jnlp.Parser] Ignoring java-vm-args due to illegal Property -Djava.locale.providers=COMPAT,CLDR