Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the "referenced libraries" folder back In the eclipse sdk?

Tags:

eclipse

I use the eclipse Ganymede sdk for developing Java apps. I'm having a strange Issue.

Everything was working fine until recently where the "referenced Libraries " folder went missing from the explorer.

I used to upload the jar's I need Into the workspace. I uploaded the jars In a folder named "lib" and after refreshing the project folder In eclipse that folder "lib" containing the Jar appears. Now,the Issue arises,when I right click on the jar and select "add to path" the jar Instead of appearing In the "referenced libraries" folder just disappears. Note:the referenced Library was never there In the first place,I need to find a way to get the folder back.

here's a snapshot of my eclipse framework : http://www.flickr.com/photos/38561743@N03/4122304046/sizes/o/

like image 727
Parastar Avatar asked Nov 21 '09 18:11

Parastar


2 Answers

The root - Referenced Libraries - of the lib jar disappear if you open J2EE perspective, leaving all the jar in the main project root folder. This is very annoying so, Please change e perspective from J2EE to Java.

like image 74
sugam Avatar answered Sep 28 '22 00:09

sugam


Did you uncheck the Show 'Referenced Libraries' Node (accessible through the menu for Package Explorer: the small triangle in the explorer’s title bar)?

(EDIT: The OP provided a screen shot showing that Show 'Referenced Libraries' Node is checked in comment to this answer. He confirmed that libraries are not filtered too in a comment to another answer. So, actually, I don't know what is happening here. Strangely, I can't see the "JRE System Library" neither and this seems weird. So something must be wrong indeed, but I don't know what. This is not really a good solution but if you can't solve it, maybe consider reinstalling Eclipse.)

like image 23
Pascal Thivent Avatar answered Sep 28 '22 01:09

Pascal Thivent