I am having trouble getting my main method to run, and I get the following error message in Eclipse:
Error: Could not find or load main class CLASSNAME
I'm afraid it is some problem with my JRE setup or CLASSPATH variable. Many other threads suggest checking the ".classpath" file for absolute paths, however all my paths in this file are relative.
The JRE I am trying to use is "jre7" in "C:\Program Files\Java\jre7". My CLASSPATH environment variable reads: .;"C:\Program Files\Java\jre7\bin"
What could be the problem with my project/environment setup? For some reason all other projects in my workspace still run properly.