Help! I have the JGF auto-JNLP system apparently working, but … for some reason, webstart insists that I “need” java 1.5.0. I have confirmed that webstart is:
- fetching the JNLP
- checking it…all OK (along the way, I discovered some undocumented requirements of the damn JNLP file. Grr!)
- doing a HEAD for each jar resource
- doing a GET for each jar resource
- …(once all files downloaded)…installing java 1.5.0
No! Bad Webstart! Baaaad!
I originally was using “j2se version=“1.4.2+””, but even switching to “1.4+” I still get the same problem.
Here’s the JNLP file I auto-generated (I thought I’d do the Pang author a favour and make him an auto JNLP since he didn’t have one ;))
<?xml version="1.0" encoding="utf-8"?>
<jnlp
spec="1.0+"
codebase="http://localhost:8080/attachments/game/game4/"
href="http://localhost:8080/jnlp/game4/alpha"
>
<information>
<title>game4</title>
<vendor>Authors: q, q</vendor>
<homepage href="/views/view-game?game4" ></homepage>
<description kind="one-line" >snetence4</description>
<description kind="short" ><p>
para4
</p></description>
<icon href="game-logo.jpg" ></icon>
<offline-allowed></offline-allowed>
</information>
<security>
<all-permissions></all-permissions>
</security>
<resources>
<jar href="alpha/Pang4K.jar" ></jar>
<j2se version="1.4+" ></j2se>
</resources>
<application-desc></application-desc>
</jnlp>