public static File[] getJarsWithNatives() {
        HashSet<File> jarFiles = new HashSet<>();
        for (Map.Entry<NativeLibrary.Key, NativeLibrary> lib : nativeLibraryMap.entrySet()) {
            File jarFile = getJarForNativeLibrary(lib.getValue().getPlatform(), lib.getValue().getName());
            if (jarFile != null) {
                jarFiles.add(jarFile);
            }
        }
        return jarFiles.toArray(new File[0]);
    }
Determine jME3's cache folder for the user account based on the OS.

If the OS cache folder is missing, the assumption is that this
particular version of the OS does not have a dedicated cache folder,
hence, we use the user's home folder instead as the root.

The folder returned is as follows:<br>
<ul>
<li>Windows: ~\AppData\Local\jme3</li>
<li>Mac OS X: ~/Library/Caches/jme3</li>
<li>Linux: ~/.cache/jme3</li>
</ul>

@return the user cache folder.
jme3-desktop/src/main/java/com/jme3/system/NativeLibraryLoader.java