When I am trying to run a class using the Run/Debug command, a JVM window pops up with the message “Could not find the main class. Program will exit.” On the console, I see the following error:
java.lang.NoClassDefFoundError: com/bnss/avrio/security/Directory
Exception in thread “main”
Here Directory is the name of the class that has a main method and is the one I am trying to run.
I can run the same class using MyEclipse 6.5.
It looks like there is some setting/preference in 7.0 that is causing this problem. I tried with jdk1.4 and jdk1.5 but get the same result.
Thanks,
Bhaskar