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
[SOLVED] jnlp vendor selection
-
- Posts: 892
- Joined: 24 Mar 2020, 13:37
Re: jnlp vendor selection
The preferred jvm vendor has to be specified as follows in the jnlp file:
Code: Select all
<resources>
<java version="1.8+" vendor="adopt"/>
-
- Posts: 84
- Joined: 25 Mar 2020, 12:21
Re: [SOLVED] jnlp vendor selection
We also completed documentation on how to make use of the vendor atribute, see
https://openwebstart.com/docs/OWSGuide. ... _jnlp_file
https://openwebstart.com/docs/OWSGuide. ... _jnlp_file