I'm having a few problems getting a basic webstart app to work with LWJGL code (consisting of a single Game class which is in fact an identical copy to that in the test package but with some colour added to the vertices of the spinning rectangle).

I have tested under OS X and everything runs without fault, but on my XP system, the application doesnt even seem to start (the furthest it goes is the completion of downloading the libraries).

Any ideas? Is there a list of dos and don'ts with regard to LWJGL+Webstart development?

On WinXP: no class def found error, org.lwjgl.Display... you've got your jnlp all screwed up. Cut 'n' paste from the Alien Flux JNLP file to get it right.

It shouldn't work properly on Webstart btw... LWJGL is b0rked on MacOS at the moment.

Cas

Righty, I looks as though my jnlp files have incorrect formatting in them (i.e. the unix blocks instead of return lines) - Is this what you mean by screwy? The original JNLP file was created in BBEdit on the Apple, I have now tried creating in different programs on PC, but nothing seems to change with regard to the application starting under XP. In my version of IE, it just displays the file as xml in the browser.

The JNLP file that I created was a type of hybrid of Kevin's and yours.

What eaxctly shouldn't work under OS X? Input, rendering , audio or everything?

Thanks for that, just found that out 10 mins ago by accident. So basically, it looks like the lwjgl package isn't being loaded for some reason (line 26 is the first location where I create any objects - in this case it is the first object created from the LWJGL libs.

Maybe, what i'm doing is totally wrong? Would any changes have to be made to org.lwjgl.test.opengl.Game in order to make it webstart compatible?

yep, feeling very dumb at the moment...I stumbled upon JCD webstart demos and had a look at them, analysing the various jar files he was using and came to your conclusion. Well, off to package up these classes and native files.

It now works (well, at least on my systems XP and OS X using firefox). I would welcome any additional bug reports.

A quick summary of problems fixed included jar paths and their contents. duh, silly me.

Windows Users

In IE(6SP1) the jnlp file does not launch webstart but instead renders itself as xml. Any ideas and feedback on this? Is this something to do with my server rather than my jnlp file?

OS X Users

There is currently one outstanding problem on OS X with the Safari browser - the browser does not launch webstart but instead just renders the main 'information' text from the jnlp file. Does anyone else have this problem?

Notes

I have updated all previous links in this thread to link to my webstart page.

Middy: I get the same as you, with the demo setting a refresh of 140Hz. Not sure why that figure is picked, but the demo still works very smootly for me on my sys (XPSP1, Geforce2mx 64MB, PIII 1GHz). What are the specs of your sys?

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