I don't remember the details, but this has come up before. Check the mailing
list archives... I vaguely recall that it was understood and solved.

Nathan

[EMAIL PROTECTED] wrote:

> Using a user-mode-linux kernel as a test-bed, I'm trying to start a JavaVM
> as the first process instead of init. I appears to be hanging on
> JNI_CreateJavaVM. I'm not sure what initial conditions need to be set, so
> I've played around a bit unsuccessfully. I have a program, though, that
> duplicates this behavior from the command-line. It comes down to this: if I
> create a VM from a process spawned directly from a shell, it works. If my
> program forks then calls JNI_CreateJavaVM, it hangs. The attached program
> will duplicate this. Run without command-line args to fork and with
> command-line args for no fork.
>
> any ideas? I've tried this with every linux JVM 1.2.2 and newer (including
> sun, bd, and ibm and 1.3.0 versions).
>
> thanks,
>
> stewart
>
>   ------------------------------------------------------------------------
>                 Name: jvmtest.c
>    jvmtest.c    Type: unspecified type (application/octet-stream)
>             Encoding: base64


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to