Originally posted by Karthikeyan Vaidiswaran:
Hi,
I tried to invoke Internet Explorer using the following piece of code.
// code to open ie
public class demo1 {
public static void main(String as[]){
Runtime r =Runtime.getRuntime();
Process p=null;
try{
p=r.exec("notepad");
}
catch(Exception e){
System.out.println(e.getMessage());
}
}
}
I got the error "Create process: iexploe error=2"
Please help in this reagrd.
Thanx
Karthik