Hi,
I need to launch a document (pdf,
word, excel, etc) from within my
Java program. I googled it & found that :
---------------
Runtime runtime = Runtime.getRuntime();
try {
Process pr = runtime.exec("start" + launchName);
}
catch (IOException e) {
System.out.println("Unable to launch: " + launchName);
}
---------------
should do the trick. But unfortunately, it doesn't work.
Does anyone know how to do this?
Jay