Sounds like you tried to run the class instead of compile. Without a Main the class will compile but not run. Try to run the class and see if this is the error you received.
Joined: Mar 02, 2004
I figured out what I did because I did it again
In eclipse I changed the name of the class and had it change the name of the compilation for me.
Once I did that I can't run with the run icon. I have to first go and tell it to run as a java application again. If I don't tell it to run as java application it seems to want to run as the old name and can't find that class any longer because it has been renamed.
Thanks for the help all.
subject: getting error that main class cannot be found??!