3,491
社区成员
发帖
与我相关
我的任务
分享
public static void main(String[] args) {
// TODO Auto-generated method stub
try {
Runtime r = Runtime.getRuntime();
Process p = r.exec("exp zch/zch@orcl tables=T file=d:\\1.dmp ");
p.waitFor();
if (p.exitValue() == 0) {
System.out.println("exp is over!");
}
} catch (Exception e) {
e.printStackTrace();
}
}