You are not logged in.
Pages: 1
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
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
hmmm export JAVA_ARCH=linux?
Not working...headache today tho...
Offline
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
v annoying
Offline
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
maybe! It is pretty old; circa turn of the century...
Offline
Pages: 1