Hello all,
I'm trying to get my Java code to launch a program on my server (eg. Notepad.exe) from WebSphere but I just can't seem to be able to.
My code looks like this:
Runtime r = Runtime.getRuntime();
String notepad = "C:/WINNT/SYSTEM32/NOTEPAD.EXE";
Process process;
process = r.exec(notepad);
The process will show that it is running under Task Manager, but nothing shows up on the Task Bar. The code runs ok if I run it from the DOS prompt. Please help!!! I have absolutely no idea what to do next!
Many many many thanks in advance.
I'm trying to get my Java code to launch a program on my server (eg. Notepad.exe) from WebSphere but I just can't seem to be able to.
My code looks like this:
Runtime r = Runtime.getRuntime();
String notepad = "C:/WINNT/SYSTEM32/NOTEPAD.EXE";
Process process;
process = r.exec(notepad);
The process will show that it is running under Task Manager, but nothing shows up on the Task Bar. The code runs ok if I run it from the DOS prompt. Please help!!! I have absolutely no idea what to do next!
Many many many thanks in advance.