Hi Barkleyc,
Most likely your computer's class path is not set correctly.
Type java -version at c prompt and if you get a java version messge, it means u have installed java and likely you have not set the class path correctly. Read through your book or website on how to set the class path in WinXp. I think it's in control panel, system, Advance, environment.
Cheers