Hello friends i am getting the following error message while compiling this simple program
class SimpleThread extends
Thread {
public void run()
{
System.out.println("Run new Thread ");
}
}
: the error it shows is as follows:-
SimpleThread.java:1: cannot access Thread
bad class file: .\Thread.java
file does not contain class Thread
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
class SimpleThread extends Thread
^
####################
My CLASSPATH IS AS FOLLOWS:-
CLASSPATH
C:\Program Files\Java\jdk1.6.0_02\lib\tools.jar;.
OPERATING SYSTEM :-WINDOWSXP
Can anybody help me to remove this problem or what i suppose to do