Reputation: 26437
A previously working Ecplise now gives me the error
Java Virtual Machine Launcher
Could not find main class: testing2. Program will exist.
testing2 is my class and a source file exists but Ecplise doesn't seem to build the .class file. Maybe I hit the wrong hotkey and changed accidently some setting?
Upvotes: 0
Views: 1803
Reputation: 26428
As Bozho said Build Automatically should be checked which builds your project on every save of your source file.
If it is unchecked then you have to manually build the project by right clicking on it and select Build Project.
Upvotes: 1
Reputation: 597422
The following menu item should be checked : Project > Build Automatically
Upvotes: 1