Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2004 11:03:14 +0100
From:      Jan Schultze <jan.schultze@udo.edu>
To:        =?ISO-8859-1?Q?Gerrit_K=FChn?= <gerrit@pmp.uni-hannover.de>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Problems with Eclipse and jdk 1.3/1.4
Message-ID:  <40236662.3080400@udo.edu>
In-Reply-To: <20040206074237.GB43292@pmp.uni-hannover.de>
References:  <20040118184155.GA19562@pmp.uni-hannover.de> <4022D937.50605@gmx.de> <20040206074237.GB43292@pmp.uni-hannover.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40236662.3080400>