www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: log1 on December 30, 2005, 07:29:24 pm

Title: Integration
Post by: log1 on December 30, 2005, 07:29:24 pm
How do you integrate jPCT into NetBeans?

I'm having trouble importing the package...
Title: Integration
Post by: Melssj5 on December 31, 2005, 08:26:19 am
JPCt are a groups of classes, so you just need to import the using import bla bla bla, BUT those clases are defined in packages too, thy need to be put on the classpath. for example your jpct classes are in "c:\jpct", and you are coding a programm in C:\myprojects\NB, then it wont work, you must have the joct classes and you project at the same level of directories.
Title: Integration
Post by: log1 on January 04, 2006, 08:11:35 am
how about the dll files? there not clases?
Title: Integration
Post by: Melssj5 on January 04, 2006, 08:14:53 am
Well, the dll are native code, they must go on the windows/system32 folder if you using windows!!!!

You dont need to register them, the dlls are for the opengl render only, you dont need to to that if you are not usnig opengl.

The dlls are not part of the jpct engine, they are part of the lwjgl that comes with the engine.

 8)
Title: Integration
Post by: EgonOlsen on January 04, 2006, 08:36:25 am
Quote from: "Melssj5"
Well, the dll are native code, they must go on the windows/system32 folder if you using windows!!!!
No, they don't have to. You can specify the library path to the native dlls with the "-Djava.library.path="-switch. But i don't have a clue where to do this in Netbeans, because i'm using JBuilder at home and at work.