.. | .. |
---|
688 | 688 | |
---|
689 | 689 | public static void main(String argv[]) |
---|
690 | 690 | { |
---|
691 | | - String osArch = System.getProperty("os.arch"); |
---|
| 691 | + String osArch = System.getProperty("os.arch"); |
---|
692 | 692 | if (Globals.DEBUG) |
---|
693 | 693 | System.out.println("os.arch = " + osArch); |
---|
694 | 694 | |
---|
| 695 | + String osName = System.getProperty("os.name"); |
---|
| 696 | + |
---|
| 697 | + isWindows = !osName.equals("Mac OS X"); |
---|
| 698 | + |
---|
695 | 699 | if (argv.length == 0) |
---|
696 | 700 | { |
---|
697 | 701 | String javaPath = System.getProperty("java.home") + File.separator + "bin" + File.separator + "java"; |
---|
.. | .. |
---|
717 | 721 | // -Djava.library.path=/Users/nbriere/Projects/shared/lib |
---|
718 | 722 | if (jarfile.charAt(2) == ':') |
---|
719 | 723 | { |
---|
720 | | - isWindows = true; |
---|
721 | 724 | command = "\"" + javaPath + "\" -Xmx1024m -Djava.library.path=" + jarpath; |
---|
722 | 725 | // On Windows systems, the path is /C:/ |
---|
723 | 726 | jarfile = jarfile.substring(1, jarfile.length()); |
---|