On 11/14/06, Marc Ravensbergen <[EMAIL PROTECTED]> wrote:
I am having a hard time getting java to work on openbsd. Java is a
deal-breaker for me as I use it all day every day for work. What I've
done is taken a tar of the linux version, and untarred it in openbsd. I
have turned on linux emulation by modifying the variable in
/etc/sysctl.conf, and I've mounted the /proc "filesystem". I have also
pkg_added redhat-base8.xxx.

However, whenever I run java, I get a "Can't detect initial thread stack
location - find_vma failed" error. This is for sun's jdk 1.5.06 as well
as one of the newer 1.6 versions. IBM's jdk1.4 says it cannot read or
write (not sure exactly anymore) to /proc/xxxx. I've tried running all
three versions as root to check for permission errors, but it makes no
difference. I've googled for hours trying to find a solution, but can't
seem to fix it.

I really don't want to download the source for java and compile... I am
on dialup so every byte counts. A little while ago I tried java on
netbsd and got it working through linux emulation as well. I had
problems with netbsd so it didn't stick around, but I believe that java
on bsd through emulation should be possible; probably just an oversight
somwhere on my part.

I didn't try any linux 1.5/1.6 jdk, but perhaps you missed something
for your linux emulation? read man compat_linux, perhaps it helps.

the other options you have is having someone mail you the source on
cd, or use kaffe (don't know how useful it is for your purposes).

--knitti

Reply via email to