Remove project .jars from project explorer view in Eclipse

Viewed 31273

The list of jars just takes up too much space. Can I collapse it or hide it?

12 Answers

In the Project Explorer :

  • Customize View
  • Check Libraries from external

enter image description here enter image description here

Or in the Package Explorer :

  • Uncheck the 'Show Referenced Libraries Node'
  • Add a filter to hide "*.jar" files

In Eclipse3.5, select the filter "libraries from external" in "customize view".

I believe that Eclipse 3.4.2 places jars under "Referenced Libraries" node which is collpasable. What version do you use?

Go the library Tab of Java Build Path, Add Variable (add a variable name and library folder location).

Once the variable is added, click on extend, you will see all the jars. Select all of them (or whatever is needed) and click ok. Exit the build path dialog box by clicking ok.

This will remove all the jars from your project view.

Project Explorer > [Down Arrow Icon] > Customize View > Choose the options which you want to exclude to see in the explorer

Related