From owner-freebsd-java@FreeBSD.ORG Fri Feb 6 02:04: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 B407316A4CE for ; Fri, 6 Feb 2004 02:04:06 -0800 (PST) Received: from nx5.hrz.uni-dortmund.de (nx5.HRZ.Uni-Dortmund.DE [129.217.131.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7161643D2F for ; Fri, 6 Feb 2004 02:04:04 -0800 (PST) (envelope-from jan.schultze@udo.edu) Received: from unimail.uni-dortmund.de (mx1.HRZ.Uni-Dortmund.DE [129.217.128.51]) by nx5.hrz.uni-dortmund.de (Postfix) with ESMTP id 25B514AFF45; Fri, 6 Feb 2004 11:04:03 +0100 (MET) Received: from udo.edu (pD951F9D8.dip.t-dialin.net [217.81.249.216]) (authenticated (0 bits))i16A3Ai5016053NOT); Fri, 6 Feb 2004 11:03:12 +0100 (MET) Message-ID: <40236662.3080400@udo.edu> Date: Fri, 06 Feb 2004 11:03:14 +0100 From: Jan Schultze User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040126 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Gerrit_K=FChn?= References: <20040118184155.GA19562@pmp.uni-hannover.de> <4022D937.50605@gmx.de> <20040206074237.GB43292@pmp.uni-hannover.de> In-Reply-To: <20040206074237.GB43292@pmp.uni-hannover.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-MailScanner-Information: UniDo-UniMail X-MailScanner: Found to be clean cc: freebsd-java@freebsd.org Subject: Re: Problems with Eclipse and jdk 1.3/1.4 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: Fri, 06 Feb 2004 10:04:06 -0000 Hi my libmap.conf looks like this: # /etc/libmap.conf # # candidate mapping # libkse.so.1 libkse.so.1 libkse.so libkse.so [/usr/local/jdk1.4.2/bin/java] libkse.so.1 libc_r.so.5 libkse.so libc_r.so [java] libkse.so.1 libc_r.so.5 libkse.so libc_r.so [/usr/local/eclipse/eclipse] libkse.so.1 libc_r.so.5 libkse.so libc_r.so [eclipse] libkse.so.1 libc_r.so.5 libkse.so libc_r.so This maps kse to kse as default, and for java and eclipse kse to libc_r. I'm not sure if it's necessary for the eclipse binary, but I suppose it won't hurt. Regards, Jan Gerrit Kühn wrote: > On Fri, Feb 06, 2004 at 01:00:55AM +0100, Jan Schultze wrote: > > >>I had the same problem (FreeBSD 5.2, jdk1.4.2-p6 and Eclipse 2.1.2), but >>using libmap.conf to map libkse to libc_r like Greg suggested seems to >>solve the problem. > > > The box with this problem is at home and I cannot check it right now. But > thanks for the hint anyway, sounds very promising. ;-) > However, after reading libmap.conf(5) I still have a question: > Actually I would think that I need just a constrained mapping for java. But > the manpage explicitly says that this is not a good idea: > > WARNING! Constrained mappings must never appear first in the configura- > tion file. While there is a way to specify the `default'' constraint, > its use is not recommended. > > Maybe my English is not good enough here... I think I don't want a > "default" mapping, I want mapping just for java. What entry do you use? > > > cu > Gerrit