How to install in the eclipse - I need Help!! in Brazil...

Started by Fuzilador, March 14, 2007, 09:09:54 PM

Previous topic - Next topic

Fuzilador

How to install in the eclipse?

I lowered of the site, I unpacked but I do not know to install, as to install?

Tank You!  ???

EgonOlsen

Open a new project in your workspace, right click on it in the project explorer, choose build path and add the jpct.jar as well als the jar from lwjgl (if you want to use OpenGL in your project). You should then be able to compile applications that use jPCT in that project.
If you want to run an application using OpenGL, there's one additional step needed: Right click on the project in the explorer, choose run as, choose run and add something like "-Djava.library.path=<your path to the lwjgl dlls>" to arguments/VM arguments.
I'm not an eclipse expert, so there may be better ways but at least that's what i was doing to get it to work.