Page 1 of 1

[SOLVED] jnlp vendor selection

Posted: 18 Mar 2021, 13:12
by retouch
Hello Karakun,

Our Java application prefers a specific JVM.
According to documentation we can use vendor tag in JNLP file.

<jnlp spec="1.0+" codebase="http://gucsis.guc.local/risnet/classes/">
<information>
<title>GucSis WebGis</title>
<vendor>AdoptOpenJDK</vendor>
</information>
<update policy="always" check="always"/>
<resources>
<j2se version="1.8+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="ris_view.jar" main="true"/>

In a newly installed OpenWebStart, the setting ows.jvm.manager.vendor.allowFromJnlp=true was set for this purpose.
Now when the JNLP file is called, I would expect the JVM Manager to install the Adopt JVM.

But it installs the Azul JVM, although in the Java console it says "Acceptable vendor tag found, contains: AdoptOpenJDK".
Why is this?

Even if the JVMs of both vendors Azul and Adopt are listed in JVM Manager, OpenWebStart chooses the Azul JVM.
Is it possible to influence the selection of the JVM in my JNLP file?

With kind regards

Re: jnlp vendor selection

Posted: 18 Mar 2021, 13:53
by Janak Mulani
The preferred jvm vendor has to be specified as follows in the jnlp file:

Code: Select all

<resources>
        <java version="1.8+" vendor="adopt"/>

Re: [SOLVED] jnlp vendor selection

Posted: 22 Apr 2021, 07:41
by Andreas Ehret
We also completed documentation on how to make use of the vendor atribute, see

https://openwebstart.com/docs/OWSGuide. ... _jnlp_file