private static String buildLibraryName( File jarFile, String classifier, String ext ) {
		String jarName = jarFile.getName();
		String jarBasename = jarName.substring( 0, jarName.lastIndexOf( '.' ) );

		// remove classifier "no-natives" (if used)
		jarBasename = StringUtils.removeTrailing( jarBasename, "-no-natives" );

		return jarBasename
			+ (jarBasename.contains( "flatlaf" ) ? "" : "-flatlaf")
			+ '-' + classifier + '.' + ext;
	}
Search for a native library beside the jar that contains this class
(usually the FlatLaf jar).
The native library must be in the same directory (or in "../bin" if jar is in "lib")
as the jar and have the same basename as the jar.
If FlatLaf jar is repackaged into fat/uber application jar, "-flatlaf" is appended to jar basename.
The classifier and the extension are appended to the jar basename.

E.g.
    flatlaf-3.1.jar
    flatlaf-3.1-windows-x86_64.dll
    flatlaf-3.1-linux-x86_64.so
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatNativeLibrary.java