I have a jnlp file for an application that looks similar to the one below. I notice after downloading that the desktop shortcut created uses the Windows javaws.exe rather than Sun's. I see this in the properties of the shortcut:
C:\WINDOWS\system32\javaws.exe "C:\Documents and Settings\Lynn\Application Data\Sun\Java\Deployment\cache\6.0\62\47dec6fe-1c6e0861"
I would expect it to use the javaws.exe in C:\Program Files\Java\jdk1.6.0\bin. Is there a way to set this?
<jnlp spec="1.0+" codebase="http://localhost/">
<information>
<title>Title</title>
<vendor>Vendor</vendor>
<homepage href="http://localhost/index.jsp"/>
<description>Desc</description>
<description kind="short">Desc Short</description>
<description kind="tooltip">Desc Tooltip</description>
<icon href="http://localhost/app/images/logo.png" kind="default"/>
<icon href="http://localhost/app/images/splash.png" kind="splash"/>
<shortcut online="true">
<desktop/>
<menu submenu="Vendor/App"/>
</shortcut>
<offline-allowed/>
</information>
<security>
<j2ee-application-client-permissions/>
</security>
<update check="always" policy="always"/>
<resources>
<java max-heap-size="1073741824" java-vm-args="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5025" href="http://java.sun.com/products/autodl/j2se" version="1.5+"/>
<jar href="http://localhost/lib/appS.jar" download="eager" main="false"/>
</resources>
<application-desc/>
</jnlp>