This discussion is archived
5 Replies Latest reply: Mar 29, 2013 11:17 AM by rukbat RSS

Desktop shortcut icon on Windows 8

Woodiw1563768 Newbie
Currently Being Moderated
Hi,

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+">
<information>
<title>xxxxx</title>
<vendor>xxxxx</vendor>
<homepage href="http:\\www.xxxxx.co.uk"/>
<description>xxxxx</description>
<icon kind="shortcut" href="images/icon32.png" width="32" height="32"/>
<icon kind="splash" href="images/xxxxx.gif"/>
<offline-allowed/>
<shortcut online="true">
<desktop/>
<menu submenu="xxxxx"/>
</shortcut>
</information>
<security>
<all-permissions/>
</security>
<resources>
<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="4.3.0.1"/>
<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>
<resources os="Windows">
<nativelib href="MessageConverterLib.jar" version="4.3.0.1"/>
<nativelib href="MessageConverterLib_64.jar" version="4.3.0.1"/>
</resources>
<application-desc/>
</jnlp>

Thanks in advance.

Legend

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