[SOLVED] jnlp vendor selection

Get help with installation and configuration of OWS. Please post specific bug reports, pull requests, or source code extensions on github.
retouch
Posts: 5
Joined: 18 Mar 2021, 10:20

[SOLVED] jnlp vendor selection

Post 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

Janak Mulani
Posts: 892
Joined: 24 Mar 2020, 13:37

Re: jnlp vendor selection

Post 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"/>

Andreas Ehret
Posts: 84
Joined: 25 Mar 2020, 12:21

Re: [SOLVED] jnlp vendor selection

Post by Andreas Ehret »

We also completed documentation on how to make use of the vendor atribute, see

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

Post Reply