hi,
i try to run java program with ProcessBuilder
but it works only with .exe file and with .jar or .java
i use netbeans 6.9
why please?
import java.io.*;
public class Mani
{
public static void main(String args[])
throws IOException, InterruptedException
{
try
{
Process p=Runtime.getRuntime().exec("javaw -jar D:\\NetBeansProjects\\GetIPAddress\\dist\\GetIPAddress.jar");
}
catch(IOException e1) {System.out.println(e1);}
}
}