import Java.io.*;
class Runtime1
{
public Runtime1()
{
try{
Runtime.getRuntime().exec("C:\\Program Files\\Microsoft Visual Studio\\Common\\MSDev98\\Bin\\MSDEV.EXE");
}
catch(Exception e)
{
}
}
public static void main(String []args)
{
new Runtime1();
}
}
//把代碼第7行exec後面的括號裡裡面換成你應用程序的路徑即可,注意路徑加雙斜桿.