-
Notifications
You must be signed in to change notification settings - Fork 35
Running demos
Tilmann edited this page Aug 10, 2014
·
3 revisions
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
Get the latest ode4j: https://github.com/tzaeschke/ode4j/releases
You will need both core and demo.
Get LWJGL from: http://lwjgl.org/download.php
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.