1. Open eclipse, click file
2. Select New - Java Project
3. Enter the name of the project and click finish
4. When you see an additional study, right-click on the study and select New——Class
##5. Enter the class name and click finish 6. Seeing that there is already a java program Recommended tutorial:The above is the detailed content of How to use eclipse to create a new java program. For more information, please follow other related articles on the PHP Chinese website!