Webstart test

WHen this works I will post in Your Games here

need some help testing my jnlp with lwjgl set up

http://68.57.86.113:11211/cw/CubeWars.jnlp
http://68.57.86.113:11212/cw/CubeWars.jnlp

Can you let me know how bad it fails! :slight_smile:

I had lots of views but no replies…then I realized my port number was off.

I can’t get this link to work, but the only remote plce I can test from is not very reliable. It runs locally though.

Thanks.

M

Looks like the MIME type isn’t work out for you.

Kev

I thought that too, but I had GT6 (Glaalxy Traders) working on that machine just fine. I added a second link to the other machine in that office.

I just get connection refused, looks like the machine isn’t up and running.

Andy.

same here

my apologies for corss posting this reply…though worded differently.

It seems I can run my game by java org.mb…game
but not from a jar. Fails to find the lwjgl stuff when jarred and I have include the dll’s and jar inthe final jar.

Whaqt am I doing wrong?

How should I build the jar for my game that uses lwjgl?
thanks

EDIT: ok, I have this working java -jar CW.jar and it runs the lwjgl stuff, etc… runs great. Still freakin fails from webstart with the same old invocationtargetexception showing it cant find the lwjgl stuff…doh!
M

wrong again.

Thought I had it running as a standalone jar, but nope! If lwgjl.jar is in the same directory as my jar it works. If it is in a directory without it it will not run, even though I have included lwjgl.jar in my jar (as well as dll’s) and update my manifest for Class-Path: lwjgl.jar and still no luck, otherwise I would make a jar available until I can get a server to run jnlp’s on.

thoughts?

M

It sounds like you’ve lwjgl into another jar… i.e. yours, this won’t work.

Kev

so the correct way is to jar my app, then put it in a directory with the lwjgl jar (and dlls), then run it. This works, but wasnt sure if this was the right method. If so, now to get jnlp and server access working again.

Yep, thats the right method. If you’re using DLLs I guess you know you need to stick them in Jars for webstart.

Kev

jar them and put them in the dir with my app and the lwjgl jar (I had been putting them in my jar as well) and ref them as resources in the jnlp

Check out the following post by princec(Cas). His jnlp file may help you sort things out.

http://www.java-gaming.org/cgi-bin/JGNetForums/YaBB.cgi?board=LWJGL;action=display;num=1097098286;start=9#11