wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark ""Could not find the main class,Program will exit!" ?" Watch ""Could not find the main class,Program will exit!" ?" New topic
Author

"Could not find the main class,Program will exit!" ?

ang yin
Greenhorn

Joined: Dec 18, 2001
Posts: 7
I write a simple EJB program in the JBuilder5,
I also write a client class,but when I execute the client class
there is always a error:
"Could not find the main class,Program will exit!"
I have main method in the client class,but Jbuilder don't recognize it ?
what it mean on earth? please explian to me in detail, ang how to solve it?
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Make sure that the configuration knows to use the client program with main at startup. It may be trying to run another program instead.


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: "Could not find the main class,Program will exit!" ?