想知道其他人是否遇到了这个问题,并且有已知的解决方法。我们的 UI 是通过 java web start 部署的。它运行良好,除非用户将图标固定到 Windows 7 中的任务栏。我们使用的是 JRE 7u7。
jaavws.exe
报告它找不到缓存,见下文。请记住,当我们从桌面启动相同的图标时,这非常有效:
CouldNotLoadArgumentException[ Could not load file/URL specified: C:\Users\Chang_Lee\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\14\14bb61ce-3d47036e]
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)
[...]
java.io.FileNotFoundException: C:\Users\Chang_Lee\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\14\14bb61ce-3d47036e (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
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)