• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running  RSS feed

 
hussein nasreddine
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running my project but it is not excuting any other class except the one which has the main method known that i have methods related on the other classes and it supposed to give me the check box for the classes i need to run but it is not giving just directly excute one main class !
Can anybody help please
 
Rajjj Patel
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Write only methods in the main class and create another class!
 
Knute Snortum
Sheriff
Posts: 4276
127
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The main() method is always processed first. you should have code in there that executes a startup of your program.

Why don't you post the class with your main() method in it and please UseCodeTags (← that's a link). Then tell us how you're executing this class (from the command line, from an IDE, etc.)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!