1

I am working with node.js by using node-java. I need to add libFaCTPlusPlusJNI.so to java library path. Is there any chance to add the java library path in .js file ?

Thank you!

  • When loading the shared objet, you only specify the name less `lib`. In your case it will be `FaCTPlusPlusJNI.so`. `java.library.path` will then need to point to the directory containing the shared library. – alvits Feb 13 '16 at 01:44
  • Thank you for the reply. My question was how to point the directory to `java.library.path` ? Is there any syntax in nodejs ? – Ramya Dirsumilli Feb 13 '16 at 02:06

0 Answers0