This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running Eclipse Project

 
Rahul Raj cochin
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to configure my eclipse project such that, when I run the project, it should automatically run the specified java file(contains main method)...
How to do it?
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Create a run configuration for the project. (right-click the project, Runs As | Run Configurations). In the Run Configurations dialog create a new Java Application and specify the Main Class on the ?Main" tab in the dialog.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic