New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: libjvm.so: cannot open shared object file: No such file or directory #306
Comments
I posted this issue with a link to this page on stackoverflow as well |
I figured it out and it's nothing to do with anything in joe's code. My badd |
@J0NNYZER0 i have the same error. can i know what did you do? |
@J0NNYZER0 How can you solve this problem? |
If someone is coming here now, Please try the approach below: Steps:
|
@J0NNYZER0 What did you do? How did you solve it? |
I figured it out.
|
I'm seeing this problem as well. Locally on OSX, everything is working great. When I move to ubuntu, I'm seeing the 'libjvm.so: cannot open shared object file' error. I've tried setting the follow env variables as well: export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 But no luck. All suggestions appreciated. This is not a Heroku project. |
node Java is not tested with openjdk. |
@pi-kei You saved my day! Thanks ! |
This happens on Heroku when load up the node-jdbc plugin which depends on this plugin. Full error is this:
Error: libjvm.so: cannot open shared object file: No such file or directory
remote: at Error (native)
remote: at Object.Module._extensions..node (module.js:440:18)
remote: at Module.load (module.js:357:32)
remote: at Function.Module._load (module.js:314:12)
remote: at Module.require (module.js:367:17)
remote: at require (internal/module.js:16:19)
remote: at Object. (/app/node_modules/java/lib/nodeJavaBridge.js:21:16)
remote: at Module._compile (module.js:413:34)
remote: at Object.Module._extensions..js (module.js:422:10)
remote: at Module.load (module.js:357:32)
The text was updated successfully, but these errors were encountered: