关于JAVA进程调用的问题
public class TestExp{ public static void main(String[] args) { Runtime rt = Runtime.getRuntime(); Process processexp = null; String exp = "exp scott/abcdef@testst file=f://sql16.dmp"; try { processexp = rt.exec(exp); processexp.waitFor();//阻塞当前进程 System.out.println("导出成功"); } catch (IOException e) { e.printStackTrace(); } catch (InterruptedException e) { e.printStackTrace(); } }}