I am looking to restrict the RIA application to java version 7 and 8.
<resources os="Windows">
<j2se version="1.7*,1.8*" initial-heap-size="512m" max-heap-size="512m" />
</resources>
I am trying to do something like the above. My goal is to see if user has java 7 or 8 installed and run the application with the available version. If the user has anything 1.9 and above, the application should not run.
Is this possible, if so, what is the correct syntax to specify the versions?
From the documentation:
Also note when an href attribute is specified, a vendor-specific JRE is requested (oracle in this case). If you do not want that or that an installation routine pops up (when there is no corresponding jre installed) then remove the
href="http://java.sun.com/products/autodl/j2se"link...You might also try JaNeLa from andrew which verifies your JNLP file...