From owner-freebsd-java@FreeBSD.ORG Mon Jan 26 08:41:06 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 CEAD916A4CE for ; Mon, 26 Jan 2004 08:41:06 -0800 (PST) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF7E443D78 for ; Mon, 26 Jan 2004 08:40:53 -0800 (PST) (envelope-from past@noc.ntua.gr) Received: from ajax.noc.ntua.gr (ajax.noc.ntua.gr [147.102.220.1]) by ulysses.noc.ntua.gr (8.12.9p1/8.12.9) with ESMTP id i0QGepFO029414; Mon, 26 Jan 2004 18:40:51 +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 i0QGeoKY010163; Mon, 26 Jan 2004 18:40:51 +0200 (EET) (envelope-from past@noc.ntua.gr) Message-ID: <40154305.507@noc.ntua.gr> Date: Mon, 26 Jan 2004 18:40:37 +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> In-Reply-To: <20040126080104.A43491@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: Mon, 26 Jan 2004 16:41:06 -0000 [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. > 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). Cheers, -- Panagiotis Astithas Electrical & Computer Engineer, PhD Network Management Center National Technical University of Athens, Greece