Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (670)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
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- corrupt jar error  (Read 1055 times)
0 Members and 1 Guest are viewing this topic.
Offline CommanderKeith
« Posted 2006-06-11 13:02:13 »


After much pain I've nearly got Webstart working with my game but just after the splash screen comes up I get a Download Error with the following:

An error occurred while launching/running the application.

Title: Serious Tank Game
Vendor: Keith Woodward
Category: Download Error

Corrupted JAR file at

I properly signed the one and only jar file resource (jarsigner tells me so) and the jar file resource (STG.jar) on the website is not corrupt since I can download it and run it fine.  Why is WebStart telling me that the jar file is corrupt???  To see the error for yourself, go to

I've followed advice from Kev's tutorial and to get to where I am now.  This is my .jnlp file, copied from cokeandcode:

<?xml version="1.0" encoding="UTF-8"?>
<!-- Test for STG Web Start Deployment -->
    <title>Serious Tank Game</title>
    <vendor>Keith Woodward</vendor>
    <homepage href=""/>

    <description>Serious Tank Game</description>
    <description kind="short">2D Look-down Multiplayer Tank Game</description>
    <j2se href="" version="1.5+"/>
    <jar href="STG.jar"/>


What could be the problem?  Many thanks,

Offline kevglass

« JGO Spiffy Duke »

Medals: 272
Projects: 25
Exp: 18 years

Coder, Trainee Pixel Artist, Game Reviewer

« Reply #1 - Posted 2006-06-11 15:57:02 »

Not sure whats going on here, but it seems its your webserver thats the issue. I copied your JNLP and JAR to and it works find. I suspect the mime type being returned for JAR files is incorrect. We have two entried in mime.types which are:

application/octet-stream        bin dms lha lzh exe class so dll jar
application/java-archive        jar

Either check your mime.types file or check with your web administrator.


PS. Cool looking game, no idea what I was meant to do - but heh Smiley Unfortunately FPS = 3 on my hardware (its crap hardware).

Offline CommanderKeith
« Reply #2 - Posted 2006-06-11 23:48:15 »

Woo hoo!  I owe you for this Kev.

I suspect the mime type being returned for JAR files is incorrect.
Bugger, yes, good diagnosis.   I only put the jnlp MIME type.   Embarrassed

PS. Cool looking game, no idea what I was meant to do - but heh Smiley Unfortunately FPS = 3 on my hardware (its crap hardware).
Cheers!  You probably tried the Greenland map which runs super slow since it causes Windows to un-VRAM the images because too much bitmasking.  The keys are WASD, E, R & mouse - you're meant to find the computer base & capture the flag.  I'll put in a keys menu on & stick it in Games Showcase soon.

Thanks heaps for going to the trouble of proving it works on your website.  I would have wasted hours searching google to find the trouble.  And that webstart walk-through is really useful.

Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

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

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

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

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

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

IanParcs (67 views)
2016-04-12 03:51:16

IanParcs (37 views)
2016-04-12 03:50:03

IanParcs (33 views)
2016-04-12 03:49:54

IanParcs (30 views)
2016-04-12 03:49:52

IanParcs (39 views)
2016-04-12 03:49:52
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

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30 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!