Hi
Code snippet is -
I get this exception...
Start compiling ....
Command is source CompileAgent.sh TestClient
Check point 1
Caught an IO exception
java.io.IOException: java.io.IOException: source: not found
at java.lang.UNIXProcess.<init>(UNIXProcess.java:143)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:566)
at java.lang.Runtime.exec(Runtime.java:428)
at java.lang.Runtime.exec(Runtime.java:364)
at java.lang.Runtime.exec(Runtime.java:326)
at CompileJava.doWork(CompileJava.java:19)
at CompileJava.main(CompileJava.java:50)
Exception in
thread "main" java.lang.NullPointerException
at CompileJava.doWork(CompileJava.java:41)
at CompileJava.main(CompileJava.java:50)
Says source not found but the command runs well when I run this from
the shell prompt.
Thanks again
Sandeep