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?
compiling from TextPad
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Re: compiling from TextPad
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.
Also, if several classes are inter-referencing, it may be easier to go to the command prompt and type "javac *.java".
Graham.