This discussion is archived
2 Replies Latest reply: Sep 13, 2012 2:47 AM by 959663 RSS

Web start for Java 7 (update 8) on MacOS Lion can't create shortcut

959663 Newbie
Currently Being Moderated
We have a Webstart working fine on Java 6, lately one of our user updated to Java 7, and the shortcut of this Web Start can not be successfully installed. with this exception:

     Match: Running JREInfo Version match: ==
     Match: Running JVM args match: have:<-Xmx256m -Xms128m> satisfy want:<-Xmx256m -Xms128m> /Users/ryantan/Library/Application Support/Oracle/Java/Deployment/cache/6.0/4/61fa8384-5f843c43.icns (No such file or directory)
     at Method)
     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$ Source)


in the JNLP file we have these lines declare a shortcut on desktop, and it works exactly for Java 6 on same machine:

<shortcut online="true">
<menu submenu="XXXXX">

so I was wondering if any one have encountered same issue like this? please give me some hint about how to work around with this, Thanks in advance.

Ryan Tan


  • Correct Answers - 10 points
  • Helpful Answers - 5 points