Page 1 of 1

compiling from TextPad

Posted: Thu Dec 13, 2001 11:06 am
by Spiky
When I'm compiling a class that creates objects of other classes, something goes wrong.
At compiling the compiler gives an error saying that he doesn't know the class of which I try to make an object. I have all the classes of this Aplication in the same directory and I've set my classpath, and the other classes are error-free and compiling. Can anybody tell me what else can be wrong?

Re: compiling from TextPad

Posted: Thu Feb 28, 2002 4:52 pm
by Graham Clark
Try putting ".;" at the start of your classpath.
Also, if several classes are inter-referencing, it may be easier to go to the command prompt and type "javac *.java".

Graham.