From owner-freebsd-ports@FreeBSD.ORG Fri Sep 30 17:10:51 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2996D16A41F for ; Fri, 30 Sep 2005 17:10:51 +0000 (GMT) (envelope-from mhunter@malcolm.berkeley.edu) Received: from malcolm.berkeley.edu (malcolm.Berkeley.EDU [128.32.206.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id D833D43D48 for ; Fri, 30 Sep 2005 17:10:50 +0000 (GMT) (envelope-from mhunter@malcolm.berkeley.edu) Received: from malcolm.berkeley.edu (localhost [127.0.0.1]) by malcolm.berkeley.edu (8.13.3/8.13.3) with ESMTP id j8UHAbnn027673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 30 Sep 2005 10:10:38 -0700 (PDT) (envelope-from mhunter@malcolm.berkeley.edu) Received: (from mhunter@localhost) by malcolm.berkeley.edu (8.13.3/8.13.3/Submit) id j8UHAbXj027672; Fri, 30 Sep 2005 10:10:37 -0700 (PDT) (envelope-from mhunter) Date: Fri, 30 Sep 2005 10:10:37 -0700 From: Mike Hunter To: Greg Lewis Message-ID: <20050930171037.GB26743@malcolm.berkeley.edu> References: <20050928190349.GA72194@malcolm.berkeley.edu> <20050929171715.GA89959@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050929171715.GA89959@misty.eyesbeyond.com> User-Agent: Mutt/1.5.6i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (malcolm.berkeley.edu [127.0.0.1]); Fri, 30 Sep 2005 10:10:38 -0700 (PDT) Cc: freebsd-ports@freebsd.org Subject: Re: Java (jdk1.5) woes with firefox (1.0.6) and opera (8.5) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Sep 2005 17:10:51 -0000 On Sep 29, "Greg Lewis" wrote: > On Wed, Sep 28, 2005 at 12:03:49PM -0700, Mike Hunter wrote: > > For opera, I get: > > > > -------------------------------------------------------------------- > > /usr/libexec/ld-elf.so.1: /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so: Undefined symbol "__cxa_atexit" > > -------------------------------------------------------------------- > > > > Interestingly for opera, the about box says "no java runtime installed", but > > the java preference has a validated path to the JRE.... > > Actually, I think the problem for Opera (just guessing) is that you're not > using FreeBSD 4.x. Since Opera is a FreeBSD 4.x binary, I would think that > if the JDK is compiled on 5.x or 6.x then loading its shared library into > Opera would cause some compatibility problems. That makes sense...too bad Opera hasn't released any non-4 binaries. > Out of interest, what is the Java path you are telling Opera to use? I > tried this quickly last night on my 4.11 box. Opera appeared to recognise > the Java path (although I thought it was a little odd myself). When I > browsed to an applet it appeared to think about doing something for around > 30 seconds but didn't end up showing the applet (no error messages though). (I don't have access to my Fbsd desktop right now, but the way I remember it...) I told it "/usr/local/jdk15" and opera asked "you said /usr/local/jdk15, did you really mean /usr/local/jdk15/i386/blah?" and I said yes and it said "/usr/local/jdk15/i386/blah has been validated!" Mike