[kaffe] kaffe1.1.4 java.security help

Dalibor Topic robilad at kaffe.org
Mon Sep 6 16:22:11 PDT 2004


D greene wrote:
> Hello all,

Hi Dgreene,

sorry for the long delay.

> I've been getting the following exception when executing a 
> Runtime.exec() call (I'm assuming it's a persmissions issue):
> 
> java.io.IOException: No such file or directory
>   at kaffe.lang.UNIXProcess.forkAndExec (UNIXProcess.java)
>   at kaffe.lang.UNIXProcess.access$000 (UNIXProcess.java:0)
>   at kaffe.lang.UNIXProcess$1.run (UNIXProcess.java:56)
> java.lang.SecurityException: Invalid FileDescriptor
>   at java.io.FileOutputStream.<init> (FileOutputStream.java:184)
>   at kaffe.lang.UNIXProcess.<init> (UNIXProcess.java:114)
>   at java.lang.Runtime.execInternal (Runtime.java)
>   at java.lang.Runtime.exec (Runtime.java:86)
>   at java.lang.Runtime.exec (Runtime.java:70)
>   at java.lang.Runtime.exec (Runtime.java:52)

UNIXProcess is somewhat broken in 1.1.4, that might be the cause of your 
problems. It has been fixed in CVS, afaik.

cheers,
dalibor topic




More information about the kaffe mailing list