Now we are going to start a new Java Program in Eclipse. Let’s start by opening Eclipse.
Right click on the folder in the Eclipse Package Explorer and select New → Package
NOTE: Packages in Java are used to create directories to organize your files. Each folder is named when you create you package. For example, naming your package “current.package.example”, your package will contain the folder current, with a subfolder called package, and one final folder called example. Proper naming convention for a package is all lowercase.
If you do not have a Package Explorer, you can open it by going to Window → Show View → Package Explorer.
These first few lines may appear confusing. However, it is very important that you understand these lines to continue your Java experience.
Previous Next