2012-10-27 61 views
3

開始Java7每當我在OS X 10.8開始JNLP Webstart的應用與Java7我收到以下消息對話框:「無法創建快捷方式」關於OSX

無法創建XXXX

快捷方式

控制檯輸出以下異常:

java.io.FileNotFoundException: /Users/XXXX/Library/Application Support/Oracle/Java/Deployment/cache/6.0/37/6bb90625-129dd80a.icns (No such file or directory) 
at java.io.FileInputStream.open(Native Method) 
at java.io.FileInputStream.<init>(FileInputStream.java:138) 
at java.io.FileInputStream.<init>(FileInputStream.java:97) 
at com.sun.javaws.MacOSXShortcutUtil.copy(Unknown Source) 
at com.sun.javaws.MacOSXShortcutUtil.createBundle(Unknown Source) 
at com.sun.javaws.MacOSXLocalInstallHandler.createBundle(Unknown Source) 
at com.sun.javaws.MacOSXLocalInstallHandler.createShortcuts(Unknown Source) 
at com.sun.javaws.LocalInstallHandler.installShortcuts(Unknown Source) 
at com.sun.javaws.LocalInstallHandler.performIntegration(Unknown Source) 
at com.sun.javaws.LocalInstallHandler.install(Unknown Source) 
at com.sun.javaws.Launcher.notifyLocalInstallHandler(Unknown Source) 
at com.sun.javaws.Launcher.prepareResources(Unknown Source) 
at com.sun.javaws.Launcher.prepareAllResources(Unknown Source) 
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) 
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source) 
at com.sun.javaws.Launcher.launch(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(Thread.java:722) 

清潔緩存,刪除緩存部署沒有幫助。

回答

2

OSX上的快捷方式錯誤存在於Java 7u9中。 固定在7u10。您可能需要更新您的JRE。

Discussion

+0

這似乎是一個不同的錯誤。 「無法創建快捷方式」信息也會出現在7u10的早期訪問中,但應用程序將在確認對話後啓動。 –

+0

我在Java 8中看到了同樣的問題,所以它不僅僅是7中的一個問題。 – Joel