关于Runtime.getRuntime().exec()的问题...
devoc 2006-12-11 10:13:18 我想在点help选项的时候打开一个在同文件夹下的1.txt
这个写对么~
if(e.getSource().equals(help))
{
try
{
Runtime.getRuntime().exec("1.txt");
}
catch(Exception exp)
{
exp.printStackTrace();
}
运行的时候出现
java.io.IOException: CreateProcess: 1.txt error=193
请问这是什么原因啊~