Normand Briere
2019-04-29 8c837a9e50c29e66bdf5bd7ea2fd15b1a7d5d598
GrafreeD.java
....@@ -595,6 +595,9 @@
595595
596596 public static void main(String argv[])
597597 {
598
+ String osArch = System.getProperty("os.arch");
599
+ System.out.println("os.arch = " + osArch);
600
+
598601 if (argv.length == 0)
599602 {
600603 String javaPath = System.getProperty("java.home") + File.separator + "bin" + File.separator + "java";
....@@ -626,7 +629,11 @@
626629 System.out.println("jarfile = " + jarfile);
627630 jarpath = jarpath.substring(1, jarpath.length());
628631 System.out.println("jarpath = " + jarpath);
629
- command += "native" + File.separator + "windows_amd64";
632
+ command += "native" + File.separator;
633
+ if (osArch.equals("amd64"))
634
+ command += "windows_amd64";
635
+ else
636
+ command += "windows_i586";
630637 }
631638 else
632639 command += "native" + File.separator + "macosx";