You don't usually need to set a classpath for a beginner's application.
Joined: Jun 04, 2008
Hi this my Code: Add code tags[/edit] [ November 25, 2008: Message edited by: Campbell Ritchie ]
Joined: Oct 13, 2005
Please always Use Code Tags; I have added them so you can see how much better your post looks.
I haven't seen that error before. Please check your PATH is correct. Please check you don't have any Java installation folders in your CLASSPATH; for a simple application like that it is not necessary to have anything in your CLASSPATH at all. If you have a decent internet connection, try reinstalling Java and update the PATH if you have a new installation location.