public Platform getPlatform() {
        String os = System.getProperty("os.name").toLowerCase();
        String arch = System.getProperty("os.arch").toLowerCase();
        boolean is64 = is64Bit(arch);
        if (os.contains("windows")) {
            if (arch.startsWith("arm") || arch.startsWith("aarch")) {
                return is64 ? Platform.Windows_ARM64 : Platform.Windows_ARM32;
            } else {
                return is64 ? Platform.Windows64 : Platform.Windows32;
            }
        } else if (os.contains("linux") || os.contains("freebsd") 
                || os.contains("sunos") || os.contains("unix")) {
            if (arch.startsWith("arm") || arch.startsWith("aarch")) {
                return is64 ? Platform.Linux_ARM64 : Platform.Linux_ARM32;
            } else {
                return is64 ? Platform.Linux64 : Platform.Linux32;
            }
        } else if (os.contains("mac os x") || os.contains("darwin")) {
            if (arch.startsWith("ppc")) {
                return is64 ? Platform.MacOSX_PPC64 : Platform.MacOSX_PPC32;
            } else if (arch.startsWith("aarch")) {
                return Platform.MacOSX_ARM64; // no 32-bit version
            } else {
                return is64 ? Platform.MacOSX64 : Platform.MacOSX32;
            }
        } else {
            throw new UnsupportedOperationException("The specified platform: " + os + " is not supported.");
        }
    }
@deprecated Use JmeSystemDelegate.handleErrorMessage(String) instead
@param message
jme3-core/src/main/java/com/jme3/system/JmeSystemDelegate.java