private static void initPlatform() {
        String os = System.getProperty("os.name");
        if (os.startsWith("Windows")) {
            os = "win32";
        } else if (os.indexOf("Linux") >= 0) {
            os = "Linux";
        }
        String arch = System.getProperty("os.arch");
        String resname = "com.sun.tools.javah.resources." + os + "_" + arch;
        try {
            platform=ResourceBundle.getBundle(resname);
        } catch (MissingResourceException mre) {
            // fatal("Error loading resources.  Please file a bug report.", mre);
        }
    }