Eclipse tutoria...login
Eclipse tutorial
author:php.cn  update time:2022-04-13 14:09:28

Eclipse creates Java project



Open the New Java Project Wizard

You can easily create a Java project through the New Java Project Wizard. The ways to open the wizard are:

  • By clicking the "File" menu and selecting New > Java Project

  • In the Project Explorer ) window, right-click anywhere and select New > Java Project

  • Click the New button (new_button.jpg) on the toolbar and select Java Project

Using the New Java Project Wizard

The New Java Project Wizard has two pages.

First page:

  • Enter the project name (in the Project Name column)

  • Select Java Runtime Environment (JRE ) or directly use the default

  • to select Project Layout. The project layout determines whether the source code and class files are placed in separate folders. The recommended option is to create separate folders for source code and class files.

new_java_project

You can click the "Finish" button to create the project or click the "Next" button to modify the java build configuration.

The second page Java Build Path Settings (Java Build Settings), on this page we can configure the project's dependencies and additional jar packages.


View the new project

Package Explorer displays the new Java project. The "J" letter in the project icon represents a Java project. The folder icon indicates that this is a java resource folder.

new_java_project_pe

php.cn