Java-Gaming.org Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (761)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (845)
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  (Read 1865 times)
0 Members and 1 Guest are viewing this topic.
Offline silverklyph

Senior Newbie




Java games rock!


« Posted 2004-06-17 19:17:28 »

 I suppose this is a general issue, not just with xith, but I have the start of a game and I was trying to hook it up to webstart.  I "borrowed" a .jnlp template from one of the demo programs and editted it as it fit my needs.  Now I want to do one of two things.

Option 1:  This is to run it from my local machine with a code base of

 file:\\c:\mars\networking

 This should work, however, it tells me that it cannot load the file.  This option isn't feasible, however, in the long term because I will eventually have to run option two.

Option 2: I have a geocities website (problem number 1).  I want to upload the class files and the .jnlp to the website and webstart it from there, but geocities doesn't seem to like jnlp files.

 Any ideas?
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2004-06-17 20:09:24 »

file:\\c:\mars\networking - you'll probably need "file:/c:/mars/networking" but you might want to consider converting what ever you're doing to use the ClassLoader to get the resource for you.

Geocities - if they support PHP (or something similar) you can use this to change the content-type of the returned file to the appropriate one for JNLP.

At the risk of self promotion, you might want to checkout a tutorial I wrote on WebStart, its at:

http://grexengine.com/sections/externalgames/articles/Kevin%20Glass-A%20Walkthrough%20with%20WebStart-JNLP-1.html

I do note there is at least one oversight in there that hasn't been fixed yet (should really use alias name when creating the keystore).

Kev

Offline silverklyph

Senior Newbie




Java games rock!


« Reply #2 - Posted 2004-06-18 10:36:37 »

I'm making progress.  I have a jar file with all my stuff in it, however, when I try to run the jnlp (I'm running it on my local machine), it tells me that the jar resources aren't signed by the same person.  Is there a way around this?  I think it may have something to do with the fact that I just linked to

http://www.xith.org/jws/libs/...

Out of laziness.  I will eventually create my own jars for the native files but this is just a test right now.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kevglass

« JGO Spiffy Duke »


Medals: 319
Projects: 25
Exp: 22 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #3 - Posted 2004-06-18 11:58:27 »

You can use the extension tags in JNLP to pull in pre signed extensions. However, I  think the decision was made early on not to make Xith available as an extension in this way, mostly because everyone needs their own hacks atm to be using Xith.

You best bet is to package and sign your own Xith jars.

Kev

Offline silverklyph

Senior Newbie




Java games rock!


« Reply #4 - Posted 2004-06-18 19:51:54 »

Ok, I got everything packaged, but when I run the jnlp, it shows  Java (tm) loading... for a second or two, then exits?  Did I do something wrong?  I already checked the website troubleshooting and they had a similar problem for 1.3, but i'm using 1.4....
Offline SpuTTer

Senior Devvie


Medals: 1
Exp: 14 years


Lazy Middle Class Intellectual


« Reply #5 - Posted 2004-06-18 23:32:33 »

Enable the webstart console so you can see what is going on...

Report back!

Sacramento Volleyball
"Whitty phrase goes here."
Offline silverklyph

Senior Newbie




Java games rock!


« Reply #6 - Posted 2004-06-19 10:01:33 »

 How do I enable the webstart console?  Even if I try to open the application manager, it closes after the splash screen.
Online William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #7 - Posted 2004-06-20 08:18:52 »

thought I'd just chime in and say that I'd normally try to help but I'm away on holiday.  Back Saturday Smiley

Will.

Pages: [1]
  ignore  |  Print  
 
 

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

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

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

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

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

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

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

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

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

Solater (410 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
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!