im working with eclipse indigo, i created 2-3 work spaces and all are working fine, last day i was making a new work space same as i created before, but when i tried to start tomcat server or maven build to my project im getting the following error "Error: Could not find or load main class JDK"
i went to Window --> Preferences --> Java --> Installed JREs
and checked the setting of JDK and JRE but still having the same error with both JDK/JRE. also my old work spaces are working fine with same settings. i also checked the environmental variable for Java home and that is pointing to the same location where Java is installed.
Can any one help me to find out the issue. Thanks in advance.