You are not logged in.

#1 2005-08-26 11:32:53

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

More java problems

Could someone help me fix this configure error please? Pointing it to /opt/java/includes doesn't seem to help

--with-jni-path=/opt/java/include
configure: checking for java compiler...
checking for javac... javac
checking if javac works...... yes
configure: checking for jar...
checking for jar... jar
configure: checking for javah...
checking for javah... javah
checking for java... /opt/java/jre/bin/java
checking java architecture type... genunix
checking for jdk classes... trying javac -verbose
checking for jdk classes verbosely... /opt/java/jre/lib/rt.jar
checking for jni headers path... /opt/java/include:/opt/java/include/genunix
checking for valid jni headers path... no
configure: WARNING: JavaDX will be skipped during compilation due to limitations.

Offline

#2 2005-08-26 11:55:07

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: More java problems

Never messed with JNI Java apps before. Found a thread that suggests setting the JAVA_ARCH env to 'linux' and removing all configure info (rm config.cache config.log config.status). Then run configure afresh.

Can't confirm though.

Offline

#3 2005-08-26 13:53:57

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: More java problems

hmmm export JAVA_ARCH=linux?

Not working...headache today tho...

Offline

#4 2005-08-26 14:02:16

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: More java problems

I don't know then. Can't find much info about this error on the web, so it's difficult to get inspiration about possible causes/remedies.

The /opt/java/include directory seems perfectly fine to me.

Offline

#5 2005-08-26 15:03:00

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: More java problems

v annoying smile

Offline

#6 2005-08-26 15:11:14

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: More java problems

This is technically not a Java problem though. It's an issue with configure, right?

Is this an old package? Perhaps it's looking for a certain header that is no longer shipped with the current JDK.

Offline

#7 2005-08-26 17:46:07

dtw
Forum Fellow
From: UK
Registered: 2004-08-03
Posts: 4,439
Website

Re: More java problems

maybe!  It is pretty old; circa turn of the century...

Offline

Board footer

Powered by FluxBB