public class RuntimeTest {
public static void main(String[] args)
{
  Runtime run    =Runtime.getRuntime();
  
  try
  {
      run.exec("mstsc.exe");
  }
  catch(Exception e)
  {
      e.printStackTrace();
  }
}
}

 

相关文章: