Packaging Physics into WebStart

Hey all,



So I needed to do some testing and decided to use a webstart to distribute.  Everything is packaged up nicely and starts great, however I get this error from jME physics java.lang.IllegalArgumentException: Implementation 'ODE' not available!.



I have the odejava.dll packaged into Win.jar (signed, windows natives) and have included a signed odejava-jni.jar as a resource in the jnlp file; and similar for OSX and Linux.  Seems very strange that the lwjgl native files are found (I can see the first frame of graphics) but not the physics natives, all I can conclude is that it must be a problem on my end but I can't figure out what.





Note: During earlier testing one of the test computers had a Physx card, and jME-Physics tried to default to it, so I included this line

getPhysicsSpace().chooseImplementation( "ODE" );

before the PhysicsSpace is created. Could this be the issue??





Also, the results are exactly the same for OSX or WinXP.

Maybe you missed the ODE impl java classes? I didn't have problems with webstart and physics impls.

Yeah, I think your right (or something else I missed) I used the jme-physics jar from the jME webstarts and it indeed works.  Thanx for the hint :slight_smile: