code: public static void extractFromJarToTemp(String path, File tempDirectory) throws IOException {
  		File temp = createTempFile(path, tempDirectory);
  		if (temp == null) {
  			// already extracted
  			return;
  		}
  		writeFromJarToTempFile(path, temp);
  	}
docs: Loads library from current JAR archive<p>
  
  The file from JAR is copied into system temporary directory and then loaded. The temporary file is deleted after
  exiting. Method uses String as filename because the pathname is "abstract", not system-dependent.
  
  @param path The filename inside JAR as absolute path (beginning with '/'), e.g. /package/File.ext
  @throws IOException              If temporary file creation or read/write operation fails
  @throws IllegalArgumentException If source file (param path) does not exist
  @throws IllegalArgumentException If the path is not absolute or if the filename is shorter than three characters
  (see restriction of {@link File#createTempFile(java.lang.String,
  java.lang.String)}).