在JWS客户端中抛出CouldNotLoadArgumentException

时间:2015-07-28 18:00:15

标签: java java-web-start jnlp

我正在尝试启动JWS应用程序:

  • 它在Windows 8中抛出 CouldNotLoadArgumentException
  • 但如果我在运行Windows 7的其他计算机上尝试相同的操作,那就可以了。

我在堆栈溢出中找到了几个相似的帖子并应用了这些建议:

  1. 从JNLP文件中删除了所有属性字段。
  2. 清除临时文件和浏览器缓存。
  3. 但它仍然失败了。

    堆栈跟踪

    CouldNotLoadArgumentException[ Unable to load the specified file/URL: C:\Users\N -~1\AppData\Local\Temp\javaws5]
     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)
    [27-07-2015 23:55:30] Esther.Hung : java.io.FileNotFoundException: C:\Users\N -~1\AppData\Local\Temp\javaws5 (System can not find the path 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 个答案:

没有答案