JDK version selection

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
mickacompelson
Posts: 1
Joined: 26 Nov 2026, 11:45

JDK version selection

Post by mickacompelson »

i have few KVMs and other devices, that have old application, that requires jdk version 6, it works under version 8, i have multiple versions of JDK installed (to support different apps and jnlp), when i want to open these old jlnp that require version 6, openwebstart always uses hightest version of JDK available. is there any option to force it to use "closest" version?

for now, i go to settings and disable other versions than 8, and i can launch these old jlnp, but i'm wondering, if there is no bettter way to do it.

jlnp is generated by kvm, because it contains temporary connection secret, that is valid only for limited time. runtime in jlnp is specified as

<j2se version="1.6.0+" java-vm-args="-Xmx128M -Xms128M -Xss1M -XX:PermSize=32M -XX:MaxPermSize=32M"/>

from my testing, it doesnt launch with anything newer than 1.8 (i'm using openjdk 8 for running these).

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

Re: JDK version selection

Post by Janak Mulani »

You could use 1.8*

You can specify the required JVM version in the Jnlp itself: https://openwebstart.com/docs/OWSGuide. ... vm_version

Also there are strategies for managing JVM download and for choosing local jvm: https://openwebstart.com/docs/OWSGuide. ... management

Post Reply