Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-java
Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Petteri Räty <betelgeuse@g.o>
From: Karl Trygve Kalleberg <karltk@g.o>
Subject: Re: the new java setup and jni
Date: Thu, 18 Aug 2005 21:53:50 +0200
Petteri Räty wrote:
> After testing the new java setup I have found that packages using jni
> have problems. The problem is with locating jni.h. There is no standard
> way to find these so this is what two packages I have so far looked at use.
> 
> 1.sys-libs/db
> db looks at path for the location of javac and tries to make the
> location from that.
> 
> 2.dev-java/jdictrayapi
> jdictrayapi expects to find JAVA_HOME in the environment
> 
> So we should decide a solution to this problem. One bad but working
> solution to get stuff working quickly is to play with C(XX)FLAGS. We
> could also make symlinks to /usr/include or we can just patch all the
> packages using jni so that they work how we want them to. java-config -0
> can be used to set the include locations inside the Makefiles.


It would of course be best if whatever solution we come up with doesn't
require a lot of patching.

Radical idea: Can we provide one "standard" jni.h, and put it into, say,
javatoolkit?

-- Karl T
-- 
gentoo-java@g.o mailing list


Navigation:
Lists: gentoo-java: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: GNU Classpath distro DevJam
Next by thread:
Re: the new java setup and jni
Previous by date:
Re: GNU Classpath distro DevJam
Next by date:
Re: the new java setup and jni


Updated Jun 17, 2009

Summary: Archive of the gentoo-java mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.