This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure that the configuration knows to use the client program with main at startup. It may be trying to run another program instead.
 
Surfs up space ponies, I'm making gravy without this lumpy, tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!