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.

Answer from Mihir on Stack Overflow
🌐
Oracle
docs.oracle.com › cd › E14545_01 › help › oracle.eclipse.tools.weblogic.doc › html › j2eelib › operations › opRemoveLibRefFromClasspath.html
Removing a library reference from the project classpath
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.
🌐
Java-forums
java-forums.org › advanced-java › 85387-netbeans-how-remove-library-i-added.html
Netbeans: How to remove a library I added?
February 13, 2014 - Tools->Ant Libraries Select Library on left, and click the remove button under that list. masijade: That was spot on! In just 15 words too. Thank you! ... gimbal2: I'd already thought of, and tried what you were mentioning. But the library I added was not even showing up in the list.
Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › 68803603 › how-to-remove-unused-library-code-in-java
proguard - how to remove unused library code in java? - Stack Overflow
August 16, 2021 - You might want to research javafx runtime images in the openjfx docs, the information there may or may not assist you. ... Consider the shade plugin minimize-jar option. ... I think for somebody to answer, you might need to be far more specific about what you are doing (including build scripts, kind of deployment, e.g. native app, fat jar, etc). Consider if you really need to expend the effort to remove potential unused classes from libraries that you distribute.
🌐
Oracle
docs.oracle.com › html › E24938_01 › remove-library.htm
remove-library
Removes the library files from the Java optional package directory, domain-dir/lib/ext.
🌐
Oracle
java.com › en › uninstall › uninstall_instructions.html
Instructions for Uninstalling Java
Remove one directory and one file (a symlink), as follows: ... In the Terminal window Copy and Paste the commands below: sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefPane sudo rm -fr ~/Library/Application\ ...
🌐
IBM
ibm.com › docs › en › odmoc
Removing referenced Java XOM libraries - IBM
Before you remove a Java XOM library that is referenced from rulesets or other libraries, you must first remove all links that point to the library. When the links pointing to the library are removed, links that are pointed from the library are removed at the same time.
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 206147179-Adding-Removing-Project-Libraries
Adding / Removing Project Libraries – IDEs Support (IntelliJ Platform) | JetBrains
Ok, fine, I pulled this code which creates the library records out into a Runnable inner class. Now I get this: (VirtualFilePointerImpl.java:11) at com.intellij.openapi.vfs.impl.VirtualFilePointerManagerImpl.create(VirtualFilePointerManagerImpl.java:34) at com.intellij.openapi.vfs.impl.VirtualFilePointerContainerImpl$DefaultFactory.create(VirtualFilePointerContainerImpl.java:4) at com.intellij.openapi.vfs.impl.VirtualFilePointerContainerImpl.add(VirtualFilePointerContainerImpl.java:5) at com.intellij.openapi.roots.impl.libraries.LibraryImpl.addRoot(LibraryImpl.java:41) at com.opensymphony.ivyc
🌐
JetBrains
intellij-support.jetbrains.com › hc › en-us › community › posts › 360003682939-How-do-you-remove-something-from-External-Libraries-
How do you remove something from "External Libraries"? – IDEs Support (IntelliJ Platform) | JetBrains
May 22, 2019 - I'm on a workstation that has Python27, but I'm trying to write in a virtualenv of 3.7. I can do this outside of PyCharm just fine by changing the PATH files, but IN PyCharm, I can't seem to exclud...
🌐
Eclipse
bugs.eclipse.org › bugs › show_bug.cgi
346604 – [build path] Removing a library confirmation dialog should offer to remove the library from the Java build path
June 28, 2010 - Bugzilla – Bug 346604 [build path] Removing a library confirmation dialog should offer to remove the library from the Java build path Last modified: 2011-05-23 02:25:49 EDT
🌐
Lehigh Computer Science
docs.cse.lehigh.edu › java › removing-java-mac
Removing Versions of Java on Mac OS - Lehigh Computer Science Docs
The following document is an example of the procedure to remove these files and folders, actual steps may differ as Java files can exist in multiple areas. ... If you receive an error message indicating ‘No such file or directory’, continue to the JavaAppletPlugin.plugin step. Run the following command for each of the folders returned from the above. ... if [[ -d /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/ ]]; then \ sudo rm -rf /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/; fi