Problems with libkse [solved]

Gordon Bergling gbergling at 0xfce3.net
Wed Jan 28 13:26:18 PST 2004


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-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.

Mapping globally libc_r to libkse solves my problem.

Thanks for the fast reply...

	Gordon

-- 
Gordon Bergling <GBergling at 0xfce3.net>	      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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20040128/f052d88e/attachment.bin


More information about the freebsd-java mailing list