Jboss运行exe 文件
Java JDK里已经提供了调用的方法,不在累赘,代码如下。
try {
String command = "notepad";
Process child = Runtime.getRuntime().exec(command);
} catch (IOException e) {
}
这个也可以 Runtime.getRuntime().exec(wkspacePth + "/ReaderDevice.exe");