reading classes
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
reading classes
After writing a class, I wrote another application that uses it, but the sencond application can not read the first one....the compiler gives me the error that can not find the variable.how do i fix this?
Re: reading classes
Make sure your classpath variable points to the right directory.
Re: reading classes
My question is how do you check the class path is pointing to the right directory?
Re: reading classes
basically, u need to put all classes inside the same folder. then, it will be ok
Re: reading classes
I have a same problem when I using another class files.
I think that Javac can't find another class files in same directory without adding classpath.
so I change a TextPad's configuration.(Configure-Preferences-Tools-Compile Java)
I changed parameters with *.java.
Everytime I compiled all java files.
I think that Javac can't find another class files in same directory without adding classpath.
so I change a TextPad's configuration.(Configure-Preferences-Tools-Compile Java)
I changed parameters with *.java.
Everytime I compiled all java files.