String os_name = System.getProperty("os.name", "");
String os_version = System.getProperty("os.version", "");
String platform_class = null;
-
+
if (vendor.startsWith("Free Software Foundation")) {
if (os_name.startsWith("Window")) platform_class = "Win32";
else if (os_name.startsWith("Linux")) platform_class = "Linux";