Remove project .jars from project explorer view in Eclipse

31,136

Solution 1

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

Solution 2

Another solution would be using the Package Explorer view.

Solution 3

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

Solution 4

In Eclipse 3.7

  • open view menu (arrow down icon in right section of title) of Project Explorer
  • select Customize View menu item
  • in Available Customization window on Filters tab check Library from external and click OK

Solution 5

In Eclipse3.5

  • Go to Configure Build Path. Select the Library Tab
  • Remove any library jar files you want to hide
  • Use Add External Jar option to add the Jar file back
  • select the filter "libraries from external" in "customize view".
Share:
31,136
flybywire
Author by

flybywire

Updated on October 28, 2020

Comments

  • flybywire
    flybywire over 3 years

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

  • Nick Spacek
    Nick Spacek almost 13 years
    As PeterMa mentioned on the Question itself, this is not correct; it may work for the Package Explorer, but there is no such option in the Project Explorer.
  • Guillaume Massé
    Guillaume Massé over 12 years
    Windows >> Show View >> Package Explorer
  • orangepips
    orangepips over 12 years
    Project Explorer > [Down Arrow Icon] > Customize View
  • Alex
    Alex almost 12 years
    package explorer is the easiest solution for the problem
  • Ti Strga
    Ti Strga over 11 years
    This also means that if you're trying to build a jar file, you no longer have a JAR-description entry on which to right click and select "Create JAR".
  • Lennart Rolland
    Lennart Rolland about 11 years
    No option for *.jar in my Eclipse.
  • Justin Ohms
    Justin Ohms almost 11 years
    This is the correct answer for the project explorer view thank you!
  • Justin Ohms
    Justin Ohms almost 11 years
    This is not correct as far as the original question since it is about the project explorer. See the answer by @Wl.
  • Justin Ohms
    Justin Ohms almost 11 years
    Just saying "use package explorer" is really not an answer to the original question. The two serve similar but slightly different purposes. It is true that if you only work with java you probably don't notice much difference but if you work with multiple languages you see: stackoverflow.com/questions/1265070/…