You could try holding down Ctrl + F7 to see a list of all views, then up/down arrow to the View. If Package Explorer is in the list it has been minimised or something. If you select it and still can't see it, try Window → Reset Perspective... to restore all views to their defaults.
It's been 6 years since someone answered this question, and in the present day there is way more easiest methods to show hidden parent packages: "View menu" -> "Package presentation" -> "Hierarchical".
You can add a new package in Eclipse by right-clicking on your project and selecting New > Package. Note that a package doesn't really exist until you create some class or interface in that package. The more logical way to do this is to simply define a package when creating a new class.
Not all view are listed directly in every perspective ... choose:
Window->Show View->Other...->Java->Package Explorer
The simplest, and best long-term solution
Go to the main menu on top of Eclipse and locate Window next to Run and expand it.
Window->Reset Perspective... to restore all views to their defaults
It will reset the default setting.
Try Window > Open Perspective > Java Browsing or some other Java perspectives
For Eclipse version 4.3.0.v20130605-2000. You can use the Java (default) perspective. In this perspective, it provides the Package Explorer view.
To use the Java (default) perspective: Window -> Open Perspective -> Other... -> Java (default) -> Ok
If you already use the Java (default) perspective but accidentally close the Package Explorer view, you can open it by; Window -> Show View -> Package Explorer (Alt+Shift+Q,P)
If the Package Explorer still doesn't appear in the Java (default) perspective, I suggest you to right-click on the Java (default) perspective button that is located in the top-right of the Eclipse IDE and then select Reset. The Java (default) perspective will show the Package Explorer view, Code pane, Outline view, Problems, JavaDoc and Declaration View.
Try this
Window > Show View > Package Explorer
it will display the hidden 'Package Explorer' on your eclipse IDE.
• 'Window' is in your Eclipse' menubar.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With