Hi !
Featured games (88)
games approved by the League of Dukes
Games in Showcase (679)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (731)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Webstart + libgdx + Windows 7  (Read 2370 times)
0 Members and 1 Guest are viewing this topic.
Offline Noobtastic

Senior Newbie

« Posted 2011-06-06 19:48:35 »

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="" href="mazedog.jnlp">
                <title>Jnlp Testing</title>
                <vendor>Jeff Sullins</vendor>
                <homepage href="" />
                <description>Mazedog simple game</description>
                <j2se version="1.6+" />
                <extension name="lwjgl" href="" />
                <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"/>
        <application-desc main-class="aStarMaze.main.DesktopLauncher" />

Here are the contents of the .htaccess file on the web server:
AddType application/x-java-jnlp-file .jnlp

Offline ra4king

JGO Kernel

Medals: 422
Projects: 3
Exp: 5 years

I'm the King!

« Reply #1 - Posted 2011-06-06 20:05:27 »

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 "<homepage href="http://........" />"

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 Cheesy

Offline Noobtastic

Senior Newbie

« Reply #2 - Posted 2011-06-06 20:16:00 »

Ah, typo.  Fixed that, but no change Sad

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Noobtastic

Senior Newbie

« Reply #3 - Posted 2011-06-06 20:44:32 »

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

Offline cylab

JGO Wizard

Medals: 134

« Reply #4 - Posted 2011-06-06 20:54:17 »

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

Mathias - I Know What [you] Did Last Summer!
Offline Noobtastic

Senior Newbie

« Reply #5 - Posted 2011-06-06 20:56:00 »

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 :p

Just had someone point out that the cert that comes from:
Is expired.  I wonder if that could be a factor...

Ok, but really, though, I'm going to stop worrying about. 
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Mac70 (28 views)
2016-05-24 21:16:33

theagentd (41 views)
2016-05-14 18:38:35

theagentd (72 views)
2016-05-10 22:37:41

theagentd (78 views)
2016-05-10 22:33:46

IanParcs (110 views)
2016-04-18 14:18:53

KaiHH (101 views)
2016-04-18 08:35:41

KaiHH (129 views)
2016-04-15 12:43:58

theagentd (133 views)
2016-04-14 02:16:17

theagentd (155 views)
2016-04-14 02:15:43

IanParcs (251 views)
2016-04-12 03:51:16
FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!