We have installed Windows XP with installed Java 1.5 and Java 1.6. We are trying to run a JNLP file, it indicates the required Java version 1.5, as here:
http://java.sun.com/products/autodl/j2se
After loading the JNLP file, a Java 1.6 window appears. Then a window appears in which the certificate is incorrect and the application does not start. If we remove Java 1.6, the application works correctly.
If we remove the above line from the JNLP file, the application will work with Java 1.6 (but it does not work correctly, since it was developed for Java 1.5)
So, it is important to run the application with Java 1.5.
Please suggest how to run this JNLP file with Java 1.5, while Java 1.6 is also installed on the system.
Here is the jnlp file, I just replaced all the names related to the organization:
<?xml version="1.0" encoding="UTF-8"?> <jnlp spec="1.0+" codebase="http://server_url"> <information> <title> Some title </title> <vendor>Some Vendor</vendor> <homepage href="some_ulr" /> <description>Product description</description> <icon kind="splash" href="./splash.gif"/> </information> <security> <all-permissions/> </security> <application-desc main-class="org.eclipse.core.launcher.WebStartMain"> </application-desc> <resources> <j2se version="1.5.0_22" /> <jar href="http://some_jar"/> <jar href="http://some_jar1"/> <jar href="http://some_jarN"/> <property name="server" value="some_server"/> <property name="port" value="8080"/> </resources> </jnlp>
source share