From owner-freebsd-java@FreeBSD.ORG Tue Jan 27 07:42:45 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 9BD1516A4CE for ; Tue, 27 Jan 2004 07:42:45 -0800 (PST) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9CE0C43D54 for ; Tue, 27 Jan 2004 07:42:32 -0800 (PST) (envelope-from cracauer@schlepper.zs64.net) Received: from schlepper.zs64.net (schlepper [212.12.50.230]) by schlepper.zs64.net (8.12.10/8.11.1) with ESMTP id i0RFgVEi080462; Tue, 27 Jan 2004 16:42:31 +0100 (CET) (envelope-from cracauer@schlepper.zs64.net) Received: (from cracauer@localhost) by schlepper.zs64.net (8.12.10/8.12.9/Submit) id i0RFgUBh080461; Tue, 27 Jan 2004 10:42:30 -0500 (EST) Date: Tue, 27 Jan 2004 10:42:30 -0500 From: Martin Cracauer To: Panagiotis Astithas Message-ID: <20040127104230.A80275@cons.org> References: <20040126080104.A43491@cons.org> <40154305.507@noc.ntua.gr> <20040126123104.B55323@cons.org> <40161DF3.8040903@noc.ntua.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <40161DF3.8040903@noc.ntua.gr>; from past@noc.ntua.gr on Tue, Jan 27, 2004 at 10:14:43AM +0200 cc: Martin Cracauer 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 15:42:45 -0000 Panagiotis Astithas wrote on Tue, Jan 27, 2004 at 10:14:43AM +0200: > >>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? Yes, with the linux-mozilla-firebird as of Sunday, the first gets a C++ name mangling error and the second starts fine but runs into a segfault after starting an applet, leaving a hotspot problem message on the terminal. Note that I use 4-9STABLE, people who reported things to work seem to be on 5.2-something. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ No warranty. This email is probably produced by one of my cats stepping on the keys. No, I don't have an infinite number of cats.