Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
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 3719 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: 508
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 Kernel

Medals: 180

« 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  

EgonOlsen (47 views)
2018-06-10 19:43:48

EgonOlsen (29 views)
2018-06-10 19:43:44

EgonOlsen (49 views)
2018-06-10 19:43:20

DesertCoockie (214 views)
2018-05-13 18:23:11

nelsongames (130 views)
2018-04-24 18:15:36

nelsongames (129 views)
2018-04-24 18:14:32

ivj94 (870 views)
2018-03-24 14:47:39

ivj94 (131 views)
2018-03-24 14:46:31

ivj94 (782 views)
2018-03-24 14:43:53

Solater (146 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!