Duplicate :
|
this problem exists in 1.4.2 and 5.0 only; 6.0 okay A jnlp can contains multiple j2se element, to specify a prioritized listed of supported JREs, with the most preferred version first, e.g: <resources> <j2se version="1.5+"> <resources> <jar href="draw.jar.pack.gz" main="true"/> </resources> </j2se> <j2se version="1.4*"> <resources> <jar href="draw.jar" main="true"/> </resources> </j2se> </resources> If the j2se version is selected by java web start, the resources included should be downloaded; otherwise, the resources should be ignored. e.g starting the above jnlp file with 5.0 or 6.0, only draw.jar.pack.gz will be downloaded. However, if you start the above jnlp file with 1.4.2_13, draw.jar.pack.gz will be downloaded and the application cannot start, which is not correct. It should only download draw.jar instead to start the application. 5.0 also has similar problem: <resources> <j2se version="1.6+"> <resources> <jar href="draw.jar.pack.gz" main="true"/> </resources> </j2se> <j2se version="1.5*"> <resources> <jar href="draw.jar" main="true"/> </resources> </j2se> </resources> In this case, draw.jar.pack.gz will be used instead, which is incorrect.