Demo failures

Hi all. I'm really deeply interested in finding reasons to use Java, and jmonkeyengine would be a lovely incentive. But I want to know that it's a good cross-platform tool, and I have yet to get it to actually work anywhere. Under my Debian box, clicking "run demo" from the Demo page seems to download things after confirming that I want to use the OpenJDK Java 6 Web Start, but then… nothing happens.



I can get further on my Mac. Clicking "run demo" on some of the demos does nothing, but on others:


java.lang.NullPointerException
 at jmetest.effects.water.TestProjectedWater.cleanup(Unknown Source)
 at com.jme.app.BaseGame.start(Unknown Source)
 at jmetest.effects.water.TestProjectedWater.main(Unknown Source)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    [...and so forth]

I suspect that these things are largely unrelated to jmonkeyengine itself. Is there a way to bundle up the demos into a single jar or directory or whatever Java wants such that I can download everything by hand and run it all? Is such packaging available somewhere?

Thanks in advance for suggestions. I'd really enjoy seeing some of this stuff in action outside of prerecorded videos.

Additional data point, my girlfriend got a couple of the demos to run on her MacBook. So evidently there's something environmental on my Mac that's getting in the way. Any ideas what this might be? (To further nail it down, a fresh account on this Mac also failed to run the demos just now. Snow Leopard.)



And is this stuff supposed to work with the OpenJDK stuff under GNU/Linux?



Seems like it all ought to "just work". But it doesn't. Baffled.

Just a random note… If this can happen with me, it can happen with an application destined for deployment. It seems worth figuring it out. I'll be happy to help anyone who wishes to devote the time to diagnosing it.

The demos are actually quite outdated, you can run the most up-to-date demos if you check out the trunk (jme2) or the jME3 branch and run them from the test packages.


ChibaPet said:

Additional data point, my girlfriend got a couple of the demos to run on her MacBook. So evidently there's something environmental on my Mac that's getting in the way. Any ideas what this might be? (To further nail it down, a fresh account on this Mac also failed to run the demos just now. Snow Leopard.)


SL's java should work out of the box.  Apple's JVM is generally slow to come out but usually works without too much issue once it makes it into the wild

ChibaPet said:

And is this stuff supposed to work with the OpenJDK stuff under GNU/Linux?


yep.

ChibaPet said:

Just a random note... If this can happen with me, it can happen with an application destined for deployment. It seems worth figuring it out. I'll be happy to help anyone who wishes to devote the time to diagnosing it.


I would try running the latest ones first, but this is a kick in the butt to update the demos, which is something we haven't put a ton of effort into since most seem to checkout the sources rather than use the jar distributions.
sbook said:

The demos are actually quite outdated, you can run the most up-to-date demos if you check out the trunk (jme2) or the jME3 branch and run them from the test packages.


Okay, trying this now.


sbook said:

I would try running the latest ones first, but this is a kick in the butt to update the demos, which is something we haven't put a ton of effort into since most seem to checkout the sources rather than use the jar distributions.


Seems worthwhile. Anyway, I'm going to grab JME3 from the repository and see how it goes on my target platforms.

Thank you for answering this! I'll write back if I slap into more walls.