File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
 
wood burning stoves
 
subject: "Could not find the main class,Program will exit!" ?