URL url = classInJar.getResource(getClassAsResourcePath());
if ("jar".equals(url.getProtocol())) {
File jarFile = computeJarFile(url);
String jar = jarFile.getName();
String baseName = computeBaseName(jar);
return System.mapLibraryName(baseName);
}
throw new UnsatisfiedLinkError("not jar url");