IOException java.lang.PosixProcess

Mark Wielaard mark at
Fri Feb 8 10:56:41 UTC 2008

Hi Rebecca,

Rebecca Searls <Rebecca.Searls at ...> writes:
> Please advise how I can track down the cause of this fail.
> My Java version is:
> 	java version 1.5.0
> 	gij (GNU libcj) version 4.2.1 (Ubuntu 4.2.1ubuntu5)

You might have more feedback on the gcj mailinglist java at
But looking at the stacktrace below it looks like the
method is trying to execute something that doesn't exist.
The IOException isn't very helpful since it doesn't include the
file name of the thing that couldn't be execed.
I'll look into improving that exception message.
But if you can share the source of the emulator you are trying
to run then we can see what is really being called.



> --------- Stacktace ---
> cldc-run:
> Copying 1 file to /home/guest/x/jwt-client/dist/nbrun12962
> Copying 1 file to /home/guest/x/jwt-client/dist/nbrun12962
> Jad URL for OTA execution:
> .project.jam.JAMServlet/home/guest/x/jwt-client/dist//jwt-client.jad
> Starting emulator in execution mode
> No such file or directory
>     at java.lang.PosixProcess.<init>(
>     at java.lang.Runtime.execInternal(
>     at java.lang.Runtime.exec(
>     at java.lang.Runtime.exec(
>     at Source)
>     at com.sun.kvem.environment.EmulatorInvoker.runEmulatorOtherVM
(Unknown Source)
>     at com.sun.kvem.environment.EmulatorInvoker.runEmulator(Unknown Source)
>     at
(Unknown Source
> )
>     at com.sun.kvem.environment.ProfileEnvironment$
(Unknown Source)
> Caused by: No such file or directory
>     at java.lang.PosixProcess.nativeSpawn(
>     at java.lang.PosixProcess.spawn(
>     at java.lang.PosixProcess$
> ricoh-run:

More information about the core-libs-dev mailing list