File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 5830
    
    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
 
 
subject: Running Eclipse Project