Any idea why this program is not running?
Error
Exception in
thread "main" java.lang.NoSuchMethodError: main
03/07/2011 21:42 <DIR> .
03/07/2011 21:42 <DIR> ..
03/07/2011 21:40 640 SimpleThread.class
03/07/2011 21:42 404 SimpleThread.java
03/07/2011 21:41 521 SimpleThreadTest.class
03/07/2011 21:41 302 SimpleThreadTest.java
4 File(s) 1,867 bytes
2 Dir(s) 37,588,905,984 bytes free
>javac SimpleThread
error:
Class names, 'SimpleThread', are only accepted if annotation processing is explicitly requested
1 error
>javac SimpleThreadTest
error:
Class names, 'SimpleThreadTest', are only accepted if annotation processing is explicitly requested
1 error
>
Somehow it runs in Eclipse, but the CLI and TextPad don't compile