equal
deleted
inserted
replaced
143 TransportService.ListenKey key = ts.startListening(); |
143 TransportService.ListenKey key = ts.startListening(); |
144 |
144 |
145 String exe = System.getProperty("java.home") + File.separator + "bin" + |
145 String exe = System.getProperty("java.home") + File.separator + "bin" + |
146 File.separator; |
146 File.separator; |
147 String arch = System.getProperty("os.arch"); |
147 String arch = System.getProperty("os.arch"); |
148 if (arch.equals("sparcv9")) { |
148 String osname = System.getProperty("os.name"); |
|
149 if (osname.equals("SunOS") && arch.equals("sparcv9")) { |
149 exe += "sparcv9/java"; |
150 exe += "sparcv9/java"; |
150 } else if (arch.equals("amd64")) { |
151 } else if (osname.equals("SunOS") && arch.equals("amd64")) { |
151 exe += "amd64/java"; |
152 exe += "amd64/java"; |
152 } else { |
153 } else { |
153 exe += "java"; |
154 exe += "java"; |
154 } |
155 } |
155 String cmd = exe + " -Xdebug -Xrunjdwp:transport=dt_socket,timeout=15000,address=" + |
156 String cmd = exe + " -Xdebug -Xrunjdwp:transport=dt_socket,timeout=15000,address=" + |