Skip to content

How do I add jvm arguments and configure properties with IcedTea #975

@saurabhqhr

Description

@saurabhqhr

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions