[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Java on HURD, success



Hello, Igor!

> I've attempted to run a Java Virtual Machine under the Hurd, i 
> chose Kaffe which appeared to be the most advanced of the open 
> source JVMs.

Nice to see that you have done it before me :-)

> tried to run any java program. The problem was in that it was 
> trying to put the stdin, stdout and stderr file descriptors into 
> asynchronous  mode (using fctnl and O_ASYNC, i think). Since I'm 
> no expert on async-IO and that part of code wasn't essential to 
> exectution I just commented it out. BTW, how does one go about 
> putting file descriptors in async mode?

Scan for the word "linux" in jthread.c and try to replace it with
__GLIBC__

There are two ways to put file descriptors in async mode, but some systems
support only one of them.

Pavel Roskin


Reply to: