Download Eclipse (http://www.eclipse.org/downloads/)
How to Create a Java Project
- Open Eclipse
- Create New Project
Click Finish and see the Project Created.
How to create First Java Program
Right click on Source and Click New Class
How to Compile a Java Program?
By default Eclipse builds the program. You can turn off auto build by navigating to Project Menu à Build Automatically.
How to run a Java Program?
Right click on the program and Run as à Java Application.
If you don't see the output, you need to configure Eclipse to show the "Console".
Go to "Window" Menu and click "Show View" and then "Console"
Drag and drop the "Console to any place in your Eclipse IDE".
No comments:
Post a Comment