Webstart + libgdx + Windows 7

Hey everyone,
I’ve been googling and searching forums, but have not found the solution to a problem I’m seeing. Basically, I’ve got a simple little test-game I wrote with libgdx, and set it up to run with webstart. This works with windows xp, linux, and even Mac OS. It does not run on Windows 7. In the latter case, it appears like it is going to launch (shows the java 6 popup) but then just disappears after a moment. Very strange. I tried running the browser on Windows 7 as admin, and fiddled with security option, no luck.

Here is the jnlp file:


<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://empireforge.com/mazedog/" href="mazedog.jnlp">
        <information>
                <title>Jnlp Testing</title>
                <vendor>Jeff Sullins</vendor>
                <homepage href="http:empireforge.com/" />
                <description>Mazedog simple game</description>
        </information>
        <security>
                <all-permissions/>
        </security>
        <resources>
                <j2se version="1.6+" />
                <extension name="lwjgl" href="http://lwjgl.org/jnlp/extension.php" />
                <jar href="mazedog.jar"/>
                <jar href="assets.jar"/>
                <jar href="libs/gdx-backend-lwjgl-natives.jar"/>
                <jar href="libs/gdx-backend-lwjgl.jar"/>
                <jar href="libs/gdx-natives.jar"/>
                <jar href="libs/gdx.jar"/>
        </resources>
        <application-desc main-class="aStarMaze.main.DesktopLauncher" />
</jnlp>

Here are the contents of the .htaccess file on the web server:


AddType application/x-java-jnlp-file .jnlp

This isn’t a problem with your browser, it’s a problem with your computer.

The only thing wrong I see in that JNLP file is your homepage href: you forgot to include double forward slashes after the “http:” so it would be “”

EDIT: I copied the JNLP code, errors and all, and ran it on my Windows 7 machine and it works fine. So this is a problem with your machine.
Fun game btw :smiley:

Ah, typo. Fixed that, but no change :frowning:

Just saw your edit – great to hear that it works. Quite puzzling as well. I’ve seen the “failure” on two Win 7 machines.

Maybe it’s some security thing.

Also, glad to hear you like the game. It was really just a little mini-project to teach myself libgdx, never thought I’d show it around much :wink:

Hmm, did work for me as well on 64bit Win7 with 32bit JRE 1.6.0_24. Maybe it’s a personal firewall issue!?

Well, if it works for you guys, then I’m gonna call it good and not worry about it. I am at work, so maybe it is some firewall thing.

Thanks for checking it out for me! At the very least, I got the homepage URL fix out of the exercise :stuck_out_tongue:

Update:
Just had someone point out that the cert that comes from:
http://lwjgl.org/jnlp/extension.php
Is expired. I wonder if that could be a factor…

Ok, but really, though, I’m going to stop worrying about.