2003/02/12 06:40:51
[org.ibex.core.git] / src / org / xwt / Platform.java
index cbae095..43d043c 100644 (file)
@@ -49,7 +49,7 @@ public class Platform {
     // reflection.
 
     static {
-        System.out.println("Detecting JVM...");
+        System.err.println("Detecting JVM...");
         try {
             String vendor = System.getProperty("java.vendor", "");
             String version = System.getProperty("java.version", "");
@@ -60,7 +60,7 @@ public class Platform {
             //if (os_name.startsWith("Mac OS X")) platform_class = "MacOSX";
             if (vendor.startsWith("Free Software Foundation")) {
                 if (os_name.startsWith("Window")) platform_class = "Win32";
-                else platform_class = "POSIX";
+                else platform_class = "X11";
             } else if (version.startsWith("1.1") && vendor.startsWith("Netscape")) platform_class = "Netscape";
             else if (version.startsWith("1.1") && vendor.startsWith("Microsoft")) platform_class = "Microsoft";
             else if (version.startsWith("1.4")) platform_class = "Java14";