java调用exe文件
import java.io.IOException;
public class Te {
/**
* @param args
* @throws IOException
* @throws IOException
* @throws InterruptedException
*/
public static void main(String[] args) throws IOException, InterruptedException {
// TODO Auto-generated method stub
Process process = Runtime.getRuntime().exec("D:/1.exe");
process.waitFor( );
}
}