Noob question: How to build programs using JDK (cmd line)?

Started by someone2, October 08, 2006, 01:43:19

Previous topic - Next topic

someone2

Hi,
Thanks for doing lwjgl. It is a great project.

I was wondering how to build programs using the JDK.
I unpacked lwjgl to
C:\lwjgl\lwjgl-1.0beta3

I placed my source file (copied from the tutorial here http://lwjgl.org/wiki/doku.php/lwjgl/tutorials/opengl/basicopengl)

But, I get a package not found error on
import org.lwjgl.Sys;
and all other imports... followed by tons of other errors

Any help would be greatly appreciated.

Thank you very much

Matzon

first of all, I would advise you to get an IDE - IntelliJ, Eclipse or Netbeans are prefered.

Secondly, when compiling from commandline, you need to add the lwjgl jars to your classpath using -classpath <jar>;<jar>