node-java error: libjvm.so: cannot open shared object file: No such file or directory
<p>I am getting an error in the following node-plugin and opened an issue:
plugin is here: <a href="https://github.com/joeferner/node-java" rel="nofollow noreferrer">https://github.com/joeferner/node-java</a>
issue is here: <a href="https://github.com/joeferner/node-java/issues/306" rel="nofollow noreferrer">https://github.com/joeferner/node-java/issues/306</a></p>

<p>I see a similar problem that was solved on SO regarding developers who use rStudio:
<a href="https://stackoverflow.com/questions/28462302/libjvm-so-cannot-open-shared-object-file-no-such-file-or-directory">libjvm.so: cannot open shared object file: No such file or directory</a></p>

<p>I am having a similar error when I launch my node app to heroku:</p>

<pre><code>return process.dlopen(module, path._makeLong(filename));
                 ^

Error: libjvm.so: cannot open shared object file: No such file or directory
    at Error (native)
    at Object.Module._extensions..node (module.js:440:18)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Module.require (module.js:367:17)
    at require (internal/module.js:16:19)
    at Object.&lt;anonymous&gt; (/app/node_modules/java/lib/nodeJavaBridge.js:31:16)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
</code></pre>