From owner-freebsd-java@FreeBSD.ORG Wed Jan 28 13:26:18 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 9CEED16A4CE for ; Wed, 28 Jan 2004 13:26:18 -0800 (PST) Received: from dd1318.kasserver.com (dd1318.kasserver.com [81.209.148.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id D97CC43D41 for ; Wed, 28 Jan 2004 13:26:14 -0800 (PST) (envelope-from gbergling@0xfce3.net) Received: from nemesis.md.0xfce3.net (port-ip-213-211-224-164.reverse.mdcc-fun.de [213.211.224.164]) by dd1318.kasserver.com (Postfix) with ESMTP id 79152175CB; Wed, 28 Jan 2004 22:25:27 +0100 (CET) Received: from nemesis.md.0xfce3.net (localhost [127.0.0.1]) i0SLQ9qb003114; Wed, 28 Jan 2004 22:26:09 +0100 (CET) (envelope-from gbergling@0xfce3.net) Received: (from gordon@localhost) by nemesis.md.0xfce3.net (8.12.10/8.12.10/Submit) id i0SLQ9e9003113; Wed, 28 Jan 2004 22:26:09 +0100 (CET) (envelope-from gbergling@0xfce3.net) X-Authentication-Warning: nemesis.ipv6.0xfce3.net: gordon set sender to gbergling@0xfce3.net using -f Date: Wed, 28 Jan 2004 22:26:08 +0100 From: Gordon Bergling To: Daniel Eischen Message-ID: <20040128212608.GA3077@nemesis.md.0xfce3.net> References: <20040128205012.GA2428@nemesis.md.0xfce3.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Url: X-Operating-System: FreeBSD 5.2-RELEASE i386 X-Host-Uptime: 10:24PM up 4:40, 7 users, load averages: 0.29, 0.17, 0.10 cc: freebsd-java@freebsd.org Subject: Re: Problems with libkse [solved] X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gordon Bergling List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 21:26:18 -0000 --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed Jan 28, 2004 at 04:07PM -0500, Daniel Eischen wrote: > On Wed, 28 Jan 2004, Gordon Bergling wrote: > > On Tue Jan 27, 2004 at 07:06PM +0100, Gordon Bergling wrote: > > > I would like to setup a stable java environment on a FreeBSD 5.2-RELE= ASE > > > system. The primary goal for this is to coding java programs with > > > eclipse. I have read all information I found on google.com and > > > freebsd.org/java, but I don't get all answers for the questions I hav= e. > > > ;) > > >=20 > > > I had tried the installation of jdk-1.3 but the only version I get to > > > work was the 'linux-sun-jdk1.3'. I am a little bit confused about the= se > > > many versions around. So here are the questions. :) > >=20 > > I had successfully installed a jdk1.4.2p6 without problems. I tried some > > java programs and benchmarks. They all seems to run normal. At next I > > installed eclipse from a recent ports-tree. If I start eclipse it=20 > > was starting the gui and stopped afterwards. The application was stalle= d without > > getting any response from it. The output of top was a little bit confus= ing. > > The java process used minimal cpu time, but the system value was nearly > > 100 percent. So I tried 'top -S' to see if any kernel process is > > consuming all the time, but there was nothing unusual. >=20 > You can't mix and match libc_r, libkse, and libthr. One and > only one library can be used. Once you start bringing other > libraries into Java, like graphics which can bring in a > threads library, you have to be sure that all thread > libraries are the same. >=20 > In short, you have to use /etc/libmap.conf to globally > map libc_r to libkse in order to get the JDK to work > with libkse. Mapping globally libc_r to libkse solves my problem. Thanks for the fast reply... Gordon --=20 Gordon Bergling http://www.0xFCE3.net/ PGP Fingerprint: 7732 9BB1 5013 AE8B E42C 28E0 93B9 D32B C76F 02A0 RIPE-HDL: MDTP-RIPE "There is no place like 127.0.0.0/8" --DocE+STaALJfprDB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAGCjwk7nTK8dvAqARAk3/AJ4oImhw8cDk+0lU9QwCffgyEu2rlgCfY1Rf XuiVzPHVMIuk2wrZQhL5R2g= =tQfl -----END PGP SIGNATURE----- --DocE+STaALJfprDB--