Use Eclipse to create a new project and write your first program. Tools/raw Materials
Eclipse, build a good Java development environment. Method/Step
The first is to build the Java development environment, install the JDK first, then configure the environment variables, then install Eclipse. When you're done, you can write Java programs.
When the build is complete, the eclipse is opened and the interface is shown.
A new Java project is started below. Click File--new--java Project.
Enter project name with "HelloWorld" for example, click Next
In the dialog box that appears, select Finish, End
Right-click the SRC folder under the project name. Click New--class.
Enter the class name in the dialog box, noting that the name is consistent with the project name. then click Finish.
Write code.
Compile and run the program and click on the Green dot in the toolbar. Run the program and the results are displayed in the small box below. You can also press F11 directly to compile and run the program. End Considerations
At this point, the first Java program was built successfully.