All of a sudden, my
Java programs won't run. They compile OK, but when I try to run them, I get the following error message:
"Exception in
thread "main" java.lang.NoSuchMethodError - main
My source and object files are in c:\java.
My c:\autoexec.bat looks as follows:
path=c:\windows;c:\windows\command;c:\jdk1.3.0_02\bin;c:\java;.
set classpath=c:\jdk1.3.0_02\lib\tools.jar;c:\java;.
Why am I getting this run-time error all of a sudden? These programs used to run OK. Does anyone have any idea? Any help would be greatly appreciated. Thanks!
Gary Farms