/** * Returns the resource URL for the named library. * * @param name the library name * @return the library's resource URL, or <tt>null</tt> if it is not found */ @Override protected URL getResourcePath(String name) { if (name.startsWith("COIOSHelper")) { String resource = "/com/izforge/izpack/bin/native/3rdparty/" + name + ".dll"; return getClass().getResource(resource); } return super.getResourcePath(name); } }
URL url = getResourcePath(name); if (url != null)