Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Eclipse creates a Java package


May 24, 2021 Eclipse


Table of contents


Open the new Java Package Wizard

You can use the new Java Package Wizard to create a Java package. The Java Package Wizard opens by:

  • Click on the "File" menu and select New and Package
  • In Package Explorer, right-click the mouse to select the package
  • Click the package button on the toolbar ( Eclipse creates a Java package )

If you want to create a child package, select the parent package before opening the Create Java Package wizard, so that you have the value of the parent package in the name field.

Use the Create Java Package Wizard

Here's what you can do in the New Java Package:

  • Enter the resource folder name (Source Folder field)
  • Enter package name (Name field)
  • Click the "Finish" button
Eclipse creates a Java package

View the new package

Under the Package Explorer resource folder, we can see the new package.

Eclipse creates a Java package