In case of multiple JREDesc entries in the root JNLP file (other are ignored),
we have to select either the first one for which a JRE is installed,
or - if non is installed, the first JREDesc entry.
This is currently not working.
Example:
<java version="1.2" java-vm-args="-esa">
<resources>
<property name="sun.java2d.d3d" value="ERROR"/>
</resources>
</java>
<java version="1.7 1.6" java-vm-args="-da">
<resources>
<property name="sun.java2d.d3d" value="true"/> <!-- property # 2 -->
</resources>
</java>
<java version="1.5.9 1.5*" java-vm-args="-ea"/>