Matt Gerrans
Posts: 1153
Nickname: matt
Registered: Feb, 2002
|
|
Re: Some JVM Problem
|
Posted: Apr 20, 2002 9:42 PM
|
|
I had this same error message from a different quarter once and it took me a while to figure it out. I had created a class with a main() in the current directory, but when I tried to run it, I got that message. It turned out that this same class already existed elsewhere (earlier) in the classpath, so that was the one it was trying to run. Since that one didn't have a main(), it wouldn't run. It can be very vexing, since everything appears to be fine and other classes in the current directory can be executed.
|
|