Hi, I've posted a game that I'm working here. I did the JNLP file for it but when I run it with webstart causes an exception. If I download the jar file it runs ok. (Also is running OK in eclipse)I'm using the Kev's tip to load resources with

I don't think the leading slash is a good idea. On Linux/UNIX, the leading slash indicates the very top of your directory structure ... You want to access your files using a relative path, so DO NOT use a leading slash.

I don't think the leading slash is a good idea. On Linux/UNIX, the leading slash indicates the very top of your directory structure ... You want to access your files using a relative path, so DO NOT use a leading slash.

This is a java thing. NOT a os thing.

The leading slash makes its pseudo absolute (relative to the roots of the classpath).

Webstart works fine here (Windows). What platform is it failing on? Are you wrapping the input streams from the class loader in a BufferedInputStreams - that needed to be done at one point - not sure if it's still true.

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