Alice in Eclipse -
12-17-2009, 10:33 PM
If you already have the Alice Project in NetBeans, here is how you can get it to compile in Eclipse.
1. In Eclipse, make a project from existing sources...namely the sources that you already have.
2. Add the following JAR files to your project:
lib/lg_walkandtouch.jar
lib/moveandturn.jar
lib/foundation.jar
ext/swingworker/swing-worker-1.2.jar
ext/jogl/lib/gluegen-rt.jar
ext/jogl/lib/jogl.jar
These are inside your Alice distribution.
3. Add the following to the VM options in your run configuration:
-Xmx1024m -Djava.library.path="/path/to/Alice/ext/jogl/lib/linux-i586:/path/to/Alice/application/linux-i586"
(where you'd replace linux-i586 with whatever your platform is and, of course, /path/to/Alice with the path to your Alice installation.)
Cheers,
Cay
|