I have successfully compiled the file but now I am getting following errors
export LD_LIBRARY_PATH=/opt/mcr/v717/sys/java/jre/glnxa64/jre/lib/amd64/server/:D_LIBRARY_PATH
./invoke
./invoke: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
make: *** [run] Error 127
I have checked with library path , still getting this error. please suggest me good solution along with some conceptual information.
run: Prog.class invoke
export LD_LIBRARY_PATH=/opt/mcr/v717/sys/java/jre/glnxa64/jre/lib/amd64/server/:$LD_LIBRARY_PATH
./invoke
/etc/ld.so.conf.d/*
files and do anldconfig
. – sree Nov 4 '14 at 8:38ldd
. If it's a java app then you could also use-Djava.library.path=/path/to/my/dll
– UVV Nov 4 '14 at 8:58