Easy Tutorial
❮ Eclipse Task Management Eclipse Explore Windows ❯

Creating a Java Package in Eclipse


Opening the New Java Package Wizard

You can use the New Java Package Wizard to create a Java package. The ways to open the Java Package Wizard include:

If you want to create a subpackage, select the parent package before opening the Java Package Wizard, so the parent package's value is in the name field.

Using the Java Package Wizard

In the wizard dialog (New Java Package), you can perform the following actions:

Viewing the New Package

We can view the newly created package under the source folder in the Package Explorer.

❮ Eclipse Task Management Eclipse Explore Windows ❯