public static File unpackLibraryAndDependencies ( String shortName ) throws UnsatisfiedLinkError { assertInitialized ( ) ; try { return unpackLibraryBySoName ( System . mapLibraryName ( shortName ) ) ; } catch ( IOException ex ) { throw new RuntimeException ( ex ) ; } }
Unpack library and its dependencies returning the location of the unpacked library file . All non - system dependencies of the given library will either be on LD_LIBRARY_PATH or will be in the same directory as the returned File .