I want to call a c executable application from my java code. I found a solution as I can use :
String[] arg = new String[] {"cmd","/c","add"};
Process p = Runtime.getRuntime().exec(arg);
But this is only working on the windows environment.
I want to run it on solaris environment.
I searched on google but I could not find the answer.