| Author | Topic |
Posts: 1
Registered: June 2012
|
|
Issues installing libsbml java binding
|
01 Jun '12 09:32
|
 |
|
Hello,
i am not sure to post in the right list, but feel free to redirect me...
I have issues making the binding of libsbml with Java work, both under
windows7 64 and ubuntu12.04 64
> On windows, i have installed from the regular installer, checking the
option for the java binding. The libraries are hence stored in
C:\Program Files\SBML\libSBML-5.5.0-libxml2-x64
I have Java runtime v1.7.0_003, and javac 1.7.0_03
i configured my environment variables (system ones) with :
Path = <otherstuff>;C:\Program Files\SBML\libSBML-5.5.0-libxml2-x64\lib
CLASSPATH = <otherstuff>;C:\Program
Files\SBML\libSBML-5.5.0-libxml2-x64\bindings\java\libsbmlj.jar
my program, that properly worked on former machines keeps returning:
import org.sbml.libsbml.*;
Error: could not link with the libSBML library. It is likely
your LD_LIBRARY_PATH environment variable does not include
the directory containing the libsbml library file.
Java Result: 1
> On ubuntu, i tried to install both from the .deb package and
re-compilation of sources (with-xerces and with-java):
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.1) (6b24-1.11.1-4ubuntu3)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
in my .bashrc file
#PATH FOR LIBSBML
export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib:/usr/lib32:/usr/lib64:/usr/local/lib:/usr/share/java:/usr/share:/usr/share/java/:/usr/local/share/java
export
CLASSPATH=$CLASSPATH:/usr/share/java/:/usr/lib:/usr/lib32:/usr/lib64:/usr/local/lib:/usr/share/java:/usr/share:/usr/share/java/:/usr/local/share/java
i tried with versions 86 and 64 of libsbml, and restarted a couple of
times, but with no success ...
I'd be greatfull if you gave me some ideas !
regards,
Arnaud
____________________________________________________________
To manage your libsbml-development list subscription, visit
https://utils.its.caltech.edu/mailman/listinfo/libsbml-development
For a web interface to the libsbml-development mailing list, visit
http://sbml.org/Forums/
For questions or feedback about the libsbml-development list,
contact sbml-team@caltech.edu
|
|
|