www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: Fundamentals on February 24, 2006, 03:41:06 am

Title: Getting Started
Post by: Fundamentals on February 24, 2006, 03:41:06 am
I downloaded the zip file and unzipped it onto my computer.
Where do I put the lib files so that it recognizes the imports?
Title: Getting Started
Post by: Melssj5 on February 24, 2006, 07:30:01 am
Well, you must put the com and the org ackages on the classpath, so you can import then correctly, it wont work if you put them into a different directory because they are classes that have a defined package structure.
Title: Getting Started
Post by: Raven on February 25, 2006, 05:36:49 am
If you are building them from commandline, as I assume you are, it doesn't really matter where you put them -- only thing that matters is that you define them in your classpath when building.

For example, if your lib file is in the folder 3D/Stuff/Lib and your app is in /3D you would do:

javac -classpath .:Stuff/Lib/theLib nameOfFile.java

Hope this helps.
-Rav