compiling from TextPad

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Spiky

compiling from TextPad

Post 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?
Graham Clark

Re: compiling from TextPad

Post 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.
Post Reply