5 Replies Latest reply on Mar 29, 2013 6:17 PM by rukbat

    Desktop shortcut icon on Windows 8


      We are testing our apps on Windows 8 and we have a java web start app that creates a shortcut on the users desktop. With windows 8 it successfully creates the shortcut but the custom icon doesn't appear its just the standard windows shortcut icon.

      I have tried updating the icon from a gif to both png and ico files, all of which worked on prior versions of windows but with no success on windows 8. I have also tried both java 6 (u29) and java 7 (u5) on the Windows 8 machine again with no success.

      In addition if you goto properties of the jws created shortcut the ico file is there and selected, you can apply it and it will render in the properties window but not on the actual desktop shortcut. If you copy it from the JWS cache to another location and try referencing it from there it still does not work and you suffer the same issues. You cannot assign this ico file to another shortcut either but you can assign another ico file to the jws shortcut

      Has anyone else encountered this problem or does anyone have any suggestions? I'm assuming that there is some sort of incompatibility between the ico file created by JWS and Windows 8.

      I'm including the jnlp for completeness:
      <?xml version="1.0" encoding="UTF-8"?>
      <jnlp codebase="$$codebase" href="launch.jnlp" spec="1.5+">
      <homepage href="http:\\www.xxxxx.co.uk"/>
      <icon kind="shortcut" href="images/icon32.png" width="32" height="32"/>
      <icon kind="splash" href="images/xxxxx.gif"/>
      <shortcut online="true">
      <menu submenu="xxxxx"/>
      <j2se version="1.6.0_29+" href="jre"/>
      <j2se version="1.6.0_29+" href="http://java.sun.com/products/autodl/j2se"/>
      <jar href="xxxxx.jar" version=""/>
      <jar href="SwingLayout" version="1.0.1"/>
      <jar href="AbsoluteLayout" version="1.0.1"/>
      <jar href="MistLibLibrary" version="1.0.1"/>
      <property name="xxxxx.IsWebStartDeployed" value="true"/>
      <property name="xxxxx.Version" value="4.3.0"/>
      <resources os="Windows">
      <nativelib href="MessageConverterLib.jar" version=""/>
      <nativelib href="MessageConverterLib_64.jar" version=""/>

      Thanks in advance.