octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #37879] build failure due to jni.h not found


From: Rik
Subject: [Octave-bug-tracker] [bug #37879] build failure due to jni.h not found
Date: Tue, 11 Dec 2012 17:31:20 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:17.0) Gecko/20100101 Firefox/17.0

Follow-up Comment #8, bug #37879 (project octave):

libjvm.so is not being found and this is because the JAVA_LDPATH variable is
probably not getting set correctly.

Could you use a Bourne shell, as configure does, and try the following?  You
will need to cd to the Octave top-level source directory and then into the
directory build-aux in order to find OctJavaQry.class.


JAVA="/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/bin/java"
export JAVA

JAVA_TMP_LDPATH=`$JAVA OctJavaQry JAVA_LDPATH`
echo $JAVA_TMP_LDPATH

JAVA_TMP_LDPATH=`echo $JAVA_TMP_LDPATH | sed -e 's/^://' -e 's/:$//' -e 's/:/
/g'`
echo $JAVA_TMP_LDPATH




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?37879>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]