docs: public static void loadLibraryFromClasspath(String path) throws IOException {
  		Path inputPath = Paths.get(path);
  
  		if (!inputPath.isAbsolute()) {
  			throw new IllegalArgumentException("The path has to be absolute, but found: " + inputPath);
  		}
  
  		String fileNameFull = inputPath.getFileName().toString();
  		int dotIndex = fileNameFull.indexOf('.');
  		if (dotIndex < 0 || dotIndex >= fileNameFull.length() - 1) {
  			throw new IllegalArgumentException("The path has to end with a file name and extension, but found: " + fileNameFull);
  		}
  
  		String fileName = fileNameFull.substring(0, dotIndex);
  		String extension = fileNameFull.substring(dotIndex);
  
  		Path target = Files.createTempFile(fileName, extension);
  		File targetFile = target.toFile();
  		targetFile.deleteOnExit();
  
  		try (InputStream source = NativeLibraryLoader.class.getResourceAsStream(inputPath.toString())) {
  			if (source == null) {
  				throw new FileNotFoundException("File " + inputPath + " was not found in classpath.");
  			}
  			Files.copy(source, target, StandardCopyOption.REPLACE_EXISTING);
  		}
  		// Finally, load the library
  		System.load(target.toAbsolutePath().toString());
  	}