This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes IDEs, Version Control and other tools and the fly likes Running Eclipse Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Running Eclipse Project" Watch "Running Eclipse Project" New topic
Author

Running Eclipse Project

Rahul Raj cochin
Greenhorn

Joined: Mar 29, 2012
Posts: 9
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

Joined: May 14, 2008
Posts: 5838
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Running Eclipse Project