From owner-freebsd-java@FreeBSD.ORG Mon Jan 26 09:31:27 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 869E216A4D0 for ; Mon, 26 Jan 2004 09:31:27 -0800 (PST) Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.50.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD32743D53 for ; Mon, 26 Jan 2004 09:31:08 -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 i0QHV8Ei055536; Mon, 26 Jan 2004 18:31:08 +0100 (CET) (envelope-from cracauer@schlepper.zs64.net) Received: (from cracauer@localhost) by schlepper.zs64.net (8.12.10/8.12.9/Submit) id i0QHV42O055535; Mon, 26 Jan 2004 12:31:04 -0500 (EST) Date: Mon, 26 Jan 2004 12:31:04 -0500 From: Martin Cracauer To: Panagiotis Astithas Message-ID: <20040126123104.B55323@cons.org> References: <20040126080104.A43491@cons.org> <40154305.507@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: <40154305.507@noc.ntua.gr>; from past@noc.ntua.gr on Mon, Jan 26, 2004 at 06:40:37PM +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: Mon, 26 Jan 2004 17:31:27 -0000 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 > 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?). > > Doh. Anyboody know how I can disable hotspot in the Sun JVM for a > > plugin I know how to do it when calling the jvm directly, but for the > > plugin I cannot give commandline parameters. And in the 1.4.x > > installs there is no hot spot directoy to move away. Setting > > everything to -classic in jvm.conf didn't change anything. > > -classic is not an option any more in 1.4.x, you have to use hotspot > (client or server). So am I only only one for whom neither Sun-jdk-1.4.x not blackdown-jdk-1.4.2 work? Sun bails out with hotspot, blackdown with mmap2. 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.