I can compile project (yes, rt.jar is included in the classpath), but getting exception when running or debugging: Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object What could it be?
What version of Eclipse are you using, and on what operating system platform? And what Java version? Have you created the simplest possible application and tried that? Have you tried to unzip the Eclipse distribution one more time and trying it again from scratch?
By the way Irene, would you please take a look at JavaRanch's Naming Policy and change your displayed name accordingly. Thanks, -Barry
Eclipse lost its JRE definition. in your project->properties->build path select the 'libraries' tab, and then the button 'add library' from there - add your jre and press ok. If 'ok' is disabled - there's some sort of a collision. read the line at the top of the window to find out what you need to remove. hope this helps. nimo.