I am attempting to render the following .jnlp in MS IE:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for LottoMadness Application -->
<jnlp
codebase="http://localhost/LottoMadness/"
href="LottoMadness.jnlp">
<information>
<title>LottoMadness Application</title>
<vendor>Rogers Cadenhead</vendor>
<homepage href="http://localhost/LottoMadness/"/>
<icon href="lottobigicon.gif"/>
</information>
<resources>
<j2se version="1.5"/>
<jar href="LottoMadness.jar"/>
</resources>
<application-desc main-class="LottoMadness"/>
</jnlp>
I've deployed the .jnlp, .gif, and .jar to MS IIS, running locally on my PC.
When I attempt to render the .jnlp in IE I obtain an 'Application Error' window stating 'Unable to Launch Application'. Clicking details gives me:
com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://localhost/LottoMadness/LottoMadness.jnlp
at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(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$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
I have configured MS IIS for Web Start, by setting the Extension/Content Type fields to .jnlp and application/x-java-jnlp-file.
(The .jnlp is basically from 'Programming with Java in 24 Hours', as this is the book I am learning Java from.)