Joe ponders?:
> Does anyone know why I am unable to do the following on the HP3000:
> (java version 1.1.7b)
> Runtime.getRuntime().exec("/bin/ls > foo");
> java.lang.OutOfMemoryError
Hmmm. I thought all this worked in 1.1.7B, since we spent a lot of time
making it work. Have you tried execing a simpler command like a simple
"pwd" etc.? There's a chance that the error is exactly correct and that the
VM just did not have enough stack available to create the additional thread
for the Java Process object, in which case you should try entering the Posix
environment with a larger NMSTACK which will then be inherited by the Java
VM when you get to it. So exit out to the CI, and try:
:RUN SH.HPBIN.SYS;NMSTACK=10000000;INFO="-L"
then try the java command at the resulting shell prompt.
G.