aspose 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
 
subject: "Could not find the main class,Program will exit!" ?
 
Similar Threads
please help me to relove a error
please help me to solve the program
a question about executable jar files
Executable jar Failed to load Main-Class manifest attribute
Problem when make .jar file from my java applet program!!!