windows xp compiling error

Using the Java SDK with TextPad

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

Post Reply
Clint

windows xp compiling error

Post by Clint »

Im new to java and have this problem. I just upgraded to windows xp from me and cant get the classes to compile that have objects that relate to other classes. It simply says the other classes cannot be found. Any ideas on how to fix this?
Graham Clark

Re: windows xp compiling error

Post by Graham Clark »

Make sure the classes you are trying to reference are in your classpath. If you don't know where this is, it's usually in the properties window of "my computer" (right-click). (or search for "environment variables" in windows help). only the directories of classes need to be in the classpath, or the full filename if they're jar files.
JimmySosa

Re: windows xp compiling error

Post by JimmySosa »

i just spend hours trying to fix this problem, because it works fine on my destop, but not on my laptop which is quite litterally the exact same thing

the solution for me was to simply delete the "classpath" variable from envirenment variables altogether
Post Reply