Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse- How to remove jars which are added "from class path" of referenced library

I use eclipse. I just added two jars into my project as library >Add external jar . As in below picture, all other jars in the folder are coming to my project as referenced library. How to remove this. Are these really required ? After I compiled, the app jar file size is much bigger than I expected.

enter image description here

tool tip shows-from class path of .jar

enter image description here

like image 927
Rilwan Avatar asked May 18 '16 06:05

Rilwan


People also ask

How do I delete a referenced library in Eclipse?

On the Propertis dialog, select the Java Build Path from the list of properties. On the Java Build Path part of the dialog, select the Libraries tab. Find the entry in the list of libraries called Shared Library [<library-name>], and then select it. Click Remove.


1 Answers

To remove a library reference from the project classpath, follow this procedure:

1.Right-click on the project in the Project Explorer view and select Properties from the drop-down menu.This will open the Propertis dialog.

2.On the Propertis dialog, select the Java Build Path from the list of properties.

3.On the Java Build Path part of the dialog, select the Libraries tab.

4.Find the entry in the list of libraries called Shared Library [], and then select it.

5.Click Remove.

like image 153
Mihir Avatar answered Oct 30 '22 07:10

Mihir