On Tue, 2008-03-11 at 11:07 +0100, Stefano wrote:
> Can't locate the JNI header file
The root cause problem is that GCC has a jni.h file that isn't
compatible with other things, like, say, Java. We've been battling this
for a long time now. Two things:
1) don't let your distro fool you into thinking that GCJ is a JDK. It's
many wonderful things, but a compliant JDK it is not. That, and it's a
dead project. So don't use it anymore.
2) Try
$ ./configure
jdk=/path/to/whatever/the/java/home/is/on/your/system
Based on the work that Manu has been doing to build proper Debian
packages, you might find that
$ ./configure jdk=/usr/lib/jvm/java-1.6.0-sun
could work for you.
If that doesn't work, can you send along the output of .config{,.tmp}?
Also, if you hang in #java-gnome we can probably solve this
interactively. Thanks.
AfC
Berlin
--
Andrew Frederick Cowie
Operational Dynamics is an operations and engineering consultancy
focusing on IT strategy, organizational architecture, systems
review, and effective procedures for change management. We actively
carry out research and development in these areas on behalf of our
clients, and enable successful use of open source in their mission
critical enterprises, worldwide.
http://www.operationaldynamics.com/
Sydney New York Toronto London
|