Skip to content
Tilmann edited this page Aug 10, 2014 · 3 revisions

Running the demos

First, from the command line or from your IDE, run mvn install.

To run the demos When running the demos, you need to specify the following VM argument: -Djava.library.path=target/natives

Running demos without maven

You will need both core and demo.

Assuming you unzipped LWJGL into the same directory that contains ode4j’s jar’s. Run:

java -cp core-0.3.0.jar:demo-0.3.0..jar:lwjgl-2.9.0/jar/lwjgl.jar:lwjgl-2.9.0/jar/lwjgl_util.jar -Djava.library.path=lwjgl-2.9.0/native/macosx/ org.ode4j.demo.DemoChain2

Replace macosx with your native OS.

Clone this wiki locally