public static ILaunchConfigurationWorkingCopy setClasspath(ILaunchConfigurationWorkingCopy wc)
			throws CoreException {
		List<String> newList = new ArrayList<>();
		for (IRuntimeClasspathEntry entry : JavaRuntime.computeUnresolvedRuntimeClasspath(wc)) {
			switch (entry.getClasspathEntry().getEntryKind()) {
				case IClasspathEntry.CPE_LIBRARY:
					if (entry.getPath().toOSString().endsWith("Utility.jar")) {
						newList.add(entry.getMemento());
					}
					break;
				case IClasspathEntry.CPE_CONTAINER:
					newList.add(entry.getMemento());
					break;
				case IClasspathEntry.CPE_PROJECT:
				case IClasspathEntry.CPE_SOURCE:
				case IClasspathEntry.CPE_VARIABLE:
				default:
					break;
			}
		}
		wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_CLASSPATH, newList);
		wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_DEFAULT_CLASSPATH, false);
		return wc;
	}
Removes all project jars from the classpath except Utility.jar.

@param wc The launch configuration working copy to modify.
@return The modified working copy.
@throws CoreException if there was an Eclipse-related issue modifying the classpath.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/utils/GhidraLaunchUtils.java