Page 1 of 1

Specify custom JVM args to the client application

Posted: 01 Sep 2020, 07:19
by vijayasri.t
Hello,

I found this under JVM Manager section. How do you specify custom JVM args to the client application?

https://openwebstart.com/feature-table/

JVM parameters for application start 1 Several JVM parameters can be specified for an application.
JSR-56, Ch. 4.6

I’d like to pass the settings for my SSL-enabled application set up using self-signed certificate.
-Djavax.net.ssl.trustStore="%JAVA_HOME%\jre\lib\security\cacerts"
-Djavax.net.ssl.trustStorePassword="changeit"

Thanks!

Re: Specify custom JVM args to the client application

Posted: 01 Sep 2020, 08:56
by Stephan Classen
OWS finds the default trust stores by itself.
You can see the found stores and the contained certificate in the settings (launch the itw-settings.exe executable)

If you specific trust store is not found you can try one or more of the following:

a)
Add your certificates to one of the found trust stores

b)
Specify the properties as a resource in your JNLP file.

Code: Select all

    <resources>
            <j2se version="1.8*" />
            <jar href="http://my-domain.com/app.jar" main="true" />
            <property name="separateFrame" value="false" />
            <property name="lookAndFeel" value="dark" />
    </resources>