Have you ever had the irritating scenario where all your Java folders (including the empty ones) appear in Package Explorer even though you have correctly created the build path?
I was getting rather irritated by this intermittent “feature” so I asked a friend!
The simple solution is to filter out the unwanted empty folders.
- Click on the downwards arrow in the top right hand side of the Package Explorer window
- Select Filters and then make sure that “Empty Packages” is ticked
Now you will see a much cleaner representation of your project in Package Explorer