Eclipse creates Java packages
Open the New Java Package Wizard
You can use the New Java Package Wizard to create a Java package. The Java Package Wizard can be opened by:
By clicking the "File" menu and selecting New > Package
In the Package Explorer by right-clicking Mouse select>Package
Click the package button () on the toolbar
If you want to create a sub-package, open it Select the parent package before the Create Java Package Wizard so that the name field has the value of the parent package.
Use the Create Java Package Wizard
You can perform the following operations in the wizard pop-up box (New Java Package):
Enter the resource folder name ( Source Folder field)
Enter the package name (Name field)
Click the "Finish" button
View the new package
We can view the newly created package in the resource folder of Package Explorer.