Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (494)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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 1624 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:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
<?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:
1  
AddType application/x-java-jnlp-file .jnlp


Offline ra4king

JGO Kernel


Medals: 345
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 Ninja


Medals: 49



« 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

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. 
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Dwinin (19 views)
2014-09-12 09:08:26

Norakomi (54 views)
2014-09-10 13:57:51

TehJavaDev (63 views)
2014-09-10 06:39:09

Tekkerue (31 views)
2014-09-09 02:24:56

mitcheeb (53 views)
2014-09-08 06:06:29

BurntPizza (37 views)
2014-09-07 01:13:42

Longarmx (23 views)
2014-09-07 01:12:14

Longarmx (27 views)
2014-09-07 01:11:22

Longarmx (26 views)
2014-09-07 01:10:19

mitcheeb (34 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org 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‑gaming.org
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!