This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "Could not find the main class,Program will exit!" ?
 
Similar Threads
Executable jar Failed to load Main-Class manifest attribute
please help me to relove a error
please help me to solve the program
Problem when make .jar file from my java applet program!!!
a question about executable jar files