@org.junit.Test
public void test3(){
Runtime rn = Runtime.getRuntime();
Process p = null;
try {
p = rn.exec("E:/myVideo/wplayer.exe "+"C:/Users/Administrator/Desktop/测试/111.FlV");
} catch (Exception e) {
System.out.println("Error exec!");
}
}
下载,万能播放器,调用他的.exe,将视频目录加到后面,注意,中间一定要跟一个空格