From owner-freebsd-java@FreeBSD.ORG Tue Jan 27 00:15:03 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1204A16A4CE for ; Tue, 27 Jan 2004 00:15:03 -0800 (PST) Received: from diomedes.noc.ntua.gr (diomedes.noc.ntua.gr [147.102.222.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12CA943D1D for ; Tue, 27 Jan 2004 00:15:01 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) i0R8EwRj022261; Tue, 27 Jan 2004 10:14:58 +0200 (EET) (envelope-from past@noc.ntua.gr) Received: from noc.ntua.gr (dhcp-144.noc.ntua.gr [147.102.220.144]) by ajax.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i0R8EvKY043217; Tue, 27 Jan 2004 10:14:58 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <40161DF3.8040903@noc.ntua.gr> Date: Tue, 27 Jan 2004 10:14:43 +0200 From: Panagiotis Astithas Organization: NTUA/NMC User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040119 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Martin Cracauer References: <20040126080104.A43491@cons.org> <40154305.507@noc.ntua.gr> <20040126123104.B55323@cons.org> In-Reply-To: <20040126123104.B55323@cons.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: Currently no Java for Linux-Mozilla on 4-Stable? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 08:15:03 -0000 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