0 Replies Latest reply: Jul 8, 2011 12:39 PM by 873818 RSS

    javaws failing  to launch the jnlp local files which start with file:///

    873818
      Hi,

      We have an application which downloads jnlp locally and starts it by passing it to javaws. we are using 1.6.0_16 for the java application and its the same for javaws command.We have found some issue when launching the jnlp that has jre version 1.6.0_24. Below are the steps we performed:
      if we give jre version 1.6.0_14 in the jnlp and execute this command from command prompt it works perfectly:

      1) jrev1.6.0_16/bin> javaws "file:///C:\DOCUME~1\user\LOCALS~1\Temp\MyApp.jnlp" jnlp has *1.6.0_14* works perfectly fine.

      2) jrev1.6.0_16/bin> javaws "file:///C:\DOCUME~1\user\LOCALS~1\Temp\MyApp.jnlp" jnlp has *1.6.0_24* fails throwing errror "#### The application has requested a version of the JRE (version 1.6.0_24) that currently is not locally installed. Java Web Start is unable to automatically download and install the requested version. This JRE must be installed manually."

      3) jrev1.6.0_16/bin> javaws "C:\DOCUME~1\user\LOCALS~1\Temp\MyApp.jnlp" jnlp has *1.6.0_24* works perfectly fine. //please see i removed file:///

      4) jrev1.6.0_16/bin> javaws "C:\DOCUME~1\user\LOCALS~1\Temp\MyApp.jnlp" jnlp has *1.6.0_14* fails saying "#### Could not load file/URL specified: C:\DOCUME~1\user\LOCALS~1\Temp\MyApp.jnlp"

      Is this expected behaviour? Did any thing changed in the newer versions of jre which is not allowing to start file name with file:///? Please suggest.



      Thanks,