I have 'libjep.so' file after downloading jep and I also had set the environmental variable LD_LIBRARY_PATH
in ~./bashrc
as shown below:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib/python2.7/dist-packages/jep/libjep.so
as well as in runtime
System.load("/usr/local/lib/python2.7/dist-packages/jep/libjep.so");
But when I have the follwing line in my code,
Jep jep = new Jep();
It shows the below error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jep in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at jep.Jep$TopInterpreter$1.run(Jep.java:118)
at java.lang.Thread.run(Thread.java:745)
Thanks