JDK version selection
Posted: 26 Nov 2026, 16:08
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).
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).