Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jan 2004 10:14:43 +0200
From:      Panagiotis Astithas <past@noc.ntua.gr>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Currently no Java for Linux-Mozilla on 4-Stable?
Message-ID:  <40161DF3.8040903@noc.ntua.gr>
In-Reply-To: <20040126123104.B55323@cons.org>
References:  <20040126080104.A43491@cons.org> <40154305.507@noc.ntua.gr> <20040126123104.B55323@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Martin Cracauer wrote:
> Panagiotis Astithas wrote on Mon, Jan 26, 2004 at 06:40:37PM +0200: 
> 
>>[dropped -stable form CC list]
>>
>>Martin Cracauer wrote:
>>
>>>Hey folks,
>>>
>>>I was trying to install a jvm for the linux-mozilla port on 4-stable.
>>>4-stable of yesterday (updated) and all ports of yesterday except as
>>>indicated. 
>>>
>>>I am through all of them, blackdown-1.3, blackdown-1.4.2, checked out
>>>the previous blackdown-1.4.1, Sun-1.3.1 and Sun-1.4.2.
>>>
>>>Most of them have incompatible C++ interfaces to the current
>>>linux-mozilla, except blackdown-1.4.2, which doesn't run with
>>>  "linux: syscall mmap2 is obsoleted or not implemented"
>>>and Sun-1.4.2 which abort with a segmentation fault in hotspot.
>>
>>See the following page for some discussion on the issue:
>>/usr/ports/java/jdk14/work/j2se/src/share/back/util.c

Heh, someday I should start reading what I actually type... That was 
really meant to be:
http://developer.java.sun.com/developer/bugParade/bugs/4694590.html
*blush*

>>Basically you have to use the correct plugin, depending on the way your 
>>mozilla is compiled. I don't use the linux version myself, so I can't be 
>>more specific.
> 
> 
> Well, it the same issue on Linux and FreeBSD, you have to have your
> binary compiled with the same compiler as you plugin (couldn't these
> people use a C wrapper around the plugin interface?).

What I meant to suggest is that you use the correct plugin from the 
linux jdk's directory. Now that I located a machine on which I have the 
linux jdk installed, here are the choices:
/usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610/libjavaplugin_oji.so
/usr/local/linux-sun-jdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
Did you try with both?

Cheers,
-- 
Panagiotis Astithas
Electrical & Computer Engineer, PhD
Network Management Center
National Technical University of Athens, Greece



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40161DF3.8040903>