Java applet not launching using JNLP when both 32bit and 64bit java version is installed?

233 Views Asked by At

i am trying to launch a java applet using a jnlp file. The java application can run only using 64bit java. In the JNLP file i have made

<resources arch="amd64">

So that the applet will use java 64bit JVM.

But the issue is if the versions of both 32bit and 64bit installed in the machine is same then the applet is not launching.

If 64bit java version is higher than 32bit version, then app is launch.

I want to make the app launch when both versions are same also.

Can anyone help?


UPDATE 1:

Somtimes, i get only the below exception:

java.io.FileNotFoundException: C:\Users\ADMINI~1\AppData\Local\Temp\1\tmp_cache4924041859582810166.tmp (The system cannot find the file specified)
    at java.io.FileInputStream.open0(Native Method)
    at java.io.FileInputStream.open(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at java.io.FileInputStream.<init>(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main.access$000(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
0

There are 0 best solutions below