More Runtime.exec()
Patrick W. O'Neill
oneill at capsl.udel.edu
Mon Sep 7 15:38:11 PDT 1998
> Do you have any more information? Does it print a stack trace or
> anything that might be useful? And also which version of exec did you
> use? (there are 4 I think) And what were the arguments that you passed
> in? Thanks
>
> Mike
-----------------------------
No stack trace or anything useful, just that message.
public class Test {
public static void main(String[] args) {
try {
Process p = Runtime.getRuntime().exec("gcc test.c");
}
catch (Exception e) {
System.err.println(e);
}
}
}
Was my test code with various commands...I tried full paths too. If you
missed my previous email, before the latest snapshot was installed, I got
an IOException: File not found, regardless of the command or paths.
Thanks
Pat
-----------------------------------------
> On Mon, Sep 07, 1998 at 06:24:34PM -0400, Patrick W. O'Neill wrote:
> > Downloaded the latest snapshot, now I get:
> >
> > java.lang.NullPointerException: null
> >
> > Full paths on the command or not. Any ideas?
> >
> > Pat
> >
>
More information about the kaffe
mailing list