From owner-freebsd-java@FreeBSD.ORG Wed Jan 28 13:07:29 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 5947F16A4CE for ; Wed, 28 Jan 2004 13:07:29 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id DED3143D3F for ; Wed, 28 Jan 2004 13:07:27 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i0SL7Kiw015854; Wed, 28 Jan 2004 16:07:20 -0500 (EST) Date: Wed, 28 Jan 2004 16:07:20 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Gordon Bergling In-Reply-To: <20040128205012.GA2428@nemesis.md.0xfce3.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: Problems with libkse (was: stable java environment on FreeBSD 5.2-RELEASE) 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: Wed, 28 Jan 2004 21:07:29 -0000 On Wed, 28 Jan 2004, Gordon Bergling wrote: > Hi freebsd-java@, > > On Tue Jan 27, 2004 at 07:06PM +0100, Gordon Bergling wrote: > > Hi freebsd-java@, > > > > I would like to setup a stable java environment on a FreeBSD 5.2-RELEASE > > 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 have. > > ;) > > > > 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 these > > many versions around. So here are the questions. :) > > 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 > was starting the gui and stopped afterwards. The application was stalled without > getting any response from it. The output of top was a little bit confusing. > 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. 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. 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. > After changed libkse to libc_r via /etc/libmap.conf the applications > started normal. Now reverse the map so that libc_r is mapped to libkse. -- Dan Eischen