- Open eclipse and create a new java project Select File > new > java project as shown in fig below.
- A dialogue box will appear , write the project name as “AntProject” in the text field of the dialogue box as shown in fig below and click Finish button.
You will se a new project in package explorer on your eclipse.
- Now right click the newly created project and create a class in this project as Select new > class as in fig below
Fill in the details in the dialogue box as.. Create a public class named HelloWorld in package pack1 Click the finish button. See fig below