René's URL Explorer Experiment


Title: Java install failing with : /usr/bin/ld: cannot find -ljvm · Issue #567 · joeferner/node-java · GitHub

Open Graph Title: Java install failing with : /usr/bin/ld: cannot find -ljvm · Issue #567 · joeferner/node-java

X Title: Java install failing with : /usr/bin/ld: cannot find -ljvm · Issue #567 · joeferner/node-java

Description: We are using node -v v18.12.1 node-gyp -v v9.1.0 on oraclelinux8-openjdk17.0.5 and getting the following error: 07:11:26 /usr/bin/ld: cannot find -ljvm 07:11:26 collect2: error: ld returned 1 exit status 07:11:26 make: *** [nodejavabridg...

Open Graph Description: We are using node -v v18.12.1 node-gyp -v v9.1.0 on oraclelinux8-openjdk17.0.5 and getting the following error: 07:11:26 /usr/bin/ld: cannot find -ljvm 07:11:26 collect2: error: ld returned 1 exit ...

X Description: We are using node -v v18.12.1 node-gyp -v v9.1.0 on oraclelinux8-openjdk17.0.5 and getting the following error: 07:11:26 /usr/bin/ld: cannot find -ljvm 07:11:26 collect2: error: ld returned 1 exit ...

Opengraph URL: https://github.com/joeferner/node-java/issues/567

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":" Java install failing with : /usr/bin/ld: cannot find -ljvm","articleBody":"We are using \r\nnode -v v18.12.1\r\nnode-gyp -v v9.1.0\r\non **oraclelinux8-openjdk17.0.5**\r\n\r\nand getting the following error:\r\n\r\n**_07:11:26   /usr/bin/ld: cannot find -ljvm\r\n07:11:26   collect2: error: ld returned 1 exit status\r\n07:11:26   make: *** [nodejavabridge_bindings.target.mk:155: Release/obj.target/nodejavabridge_bindings.node] Error 1\r\n07:11:26   make: Leaving directory '/usr/src/app/Content_Connect/node_modules/java/build'\r\n07:11:26   gyp ERR! build error\r\n07:11:26   gyp ERR! stack Error: `make` failed with exit code: 2_**\r\n\r\nAnyone faced similar issue? This works fine with JDK 11 but is failing with JDK 17.\r\nAny help is appreciated.\r\n\r\nBelow is the full log.\r\nmake: Entering directory '/usr/src/app/Content_Connect/node_modules/java/build'\r\n07:11:26     CXX(target) Release/obj.target/nodejavabridge_bindings/src/java.o\r\n07:11:26   In file included from ../src/java.h:9,\r\n07:11:26                    from ../src/java.cpp:1:\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker)':*\r\n07:11:26   ../node_modules/nan/nan.h:2294:62: warning: cast between incompatible function types from 'void (uv_work_t)' {aka 'void (uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (uv_work_s*, int)'} [-Wcast-function-type]*\r\n07:11:26        , reinterpret_cast\u003cuv_after_work_cb>(AsyncExecuteComplete)\r\n07:11:26                                                                 ^\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::SetAccessor(v8::Local\u003cv8::ObjectTemplate>, v8::Local\u003cv8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)':\r\n07:11:26   ../node_modules/nan/nan.h:2542:16: warning: 'void v8::ObjectTemplate::SetAccessor(v8::Local\u003cv8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local\u003cv8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)' is deprecated: Do signature check in accessor [-Wdeprecated-declarations]\r\n07:11:26        , signature);\r\n07:11:26                   ^\r\n07:11:26   In file included from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-function.h:15,\r\n07:11:26                    from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8.h:33,\r\n07:11:26                    from ../src/java.h:5,\r\n07:11:26                    from ../src/java.cpp:1:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-template.h:838:8: note: declared here\r\n07:11:26      void SetAccessor(\r\n07:11:26           ^~~~~~~~~~~\r\n07:11:26     CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaObject.o\r\n07:11:26   In file included from ../src/utils.h:12,\r\n07:11:26                    from ../src/methodCallBaton.h:5,\r\n07:11:26                    from ../src/javaObject.h:10,\r\n07:11:26                    from ../src/javaObject.cpp:1:\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker)':*\r\n07:11:26   ../node_modules/nan/nan.h:2294:62: warning: cast between incompatible function types from 'void (uv_work_t)' {aka 'void (uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (uv_work_s*, int)'} [-Wcast-function-type]*\r\n07:11:26        , reinterpret_cast\u003cuv_after_work_cb>(AsyncExecuteComplete)\r\n07:11:26                                                                 ^\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::SetAccessor(v8::Local\u003cv8::ObjectTemplate>, v8::Local\u003cv8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)':\r\n07:11:26   ../node_modules/nan/nan.h:2542:16: warning: 'void v8::ObjectTemplate::SetAccessor(v8::Local\u003cv8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local\u003cv8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)' is deprecated: Do signature check in accessor [-Wdeprecated-declarations]\r\n07:11:26        , signature);\r\n07:11:26                   ^\r\n07:11:26   In file included from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-function.h:15,\r\n07:11:26                    from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8.h:33,\r\n07:11:26                    from ../src/javaObject.h:5,\r\n07:11:26                    from ../src/javaObject.cpp:1:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-template.h:838:8: note: declared here\r\n07:11:26      void SetAccessor(\r\n07:11:26           ^~~~~~~~~~~\r\n07:11:26     CXX(target) Release/obj.target/nodejavabridge_bindings/src/javaScope.o\r\n07:11:26     CXX(target) Release/obj.target/nodejavabridge_bindings/src/methodCallBaton.o\r\n07:11:26   In file included from ../src/utils.h:12,\r\n07:11:26                    from ../src/methodCallBaton.h:5,\r\n07:11:26                    from ../src/methodCallBaton.cpp:2:\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker)':*\r\n07:11:26   ../node_modules/nan/nan.h:2294:62: warning: cast between incompatible function types from 'void (uv_work_t)' {aka 'void (uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (uv_work_s*, int)'} [-Wcast-function-type]*\r\n07:11:26        , reinterpret_cast\u003cuv_after_work_cb>(AsyncExecuteComplete)\r\n07:11:26                                                                 ^\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::SetAccessor(v8::Local\u003cv8::ObjectTemplate>, v8::Local\u003cv8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)':\r\n07:11:26   ../node_modules/nan/nan.h:2542:16: warning: 'void v8::ObjectTemplate::SetAccessor(v8::Local\u003cv8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local\u003cv8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)' is deprecated: Do signature check in accessor [-Wdeprecated-declarations]\r\n07:11:26        , signature);\r\n07:11:26                   ^\r\n07:11:26   In file included from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-function.h:15,\r\n07:11:26                    from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8.h:33,\r\n07:11:26                    from ../src/utils.h:6,\r\n07:11:26                    from ../src/methodCallBaton.h:5,\r\n07:11:26                    from ../src/methodCallBaton.cpp:2:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-template.h:838:8: note: declared here\r\n07:11:26      void SetAccessor(\r\n07:11:26           ^~~~~~~~~~~\r\n07:11:26     CXX(target) Release/obj.target/nodejavabridge_bindings/src/nodeJavaBridge.o\r\n07:11:26   In file included from ../src/java.h:9,\r\n07:11:26                    from ../src/nodeJavaBridge.cpp:2:\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker)':*\r\n07:11:26   ../node_modules/nan/nan.h:2294:62: warning: cast between incompatible function types from 'void (uv_work_t)' {aka 'void (uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (uv_work_s*, int)'} [-Wcast-function-type]*\r\n07:11:26        , reinterpret_cast\u003cuv_after_work_cb>(AsyncExecuteComplete)\r\n07:11:26                                                                 ^\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::SetAccessor(v8::Local\u003cv8::ObjectTemplate>, v8::Local\u003cv8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)':\r\n07:11:26   ../node_modules/nan/nan.h:2542:16: warning: 'void v8::ObjectTemplate::SetAccessor(v8::Local\u003cv8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local\u003cv8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)' is deprecated: Do signature check in accessor [-Wdeprecated-declarations]\r\n07:11:26        , signature);\r\n07:11:26                   ^\r\n07:11:26   In file included from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-function.h:15,\r\n07:11:26                    from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8.h:33,\r\n07:11:26                    from ../src/java.h:5,\r\n07:11:26                    from ../src/nodeJavaBridge.cpp:2:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-template.h:838:8: note: declared here\r\n07:11:26      void SetAccessor(\r\n07:11:26           ^~~~~~~~~~~\r\n07:11:26   In file included from ../src/java.h:6,\r\n07:11:26                    from ../src/nodeJavaBridge.cpp:2:\r\n07:11:26   ../src/nodeJavaBridge.cpp: At global scope:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/node.h:976:43: warning: cast between incompatible function types from 'void (v8::Local\u003cv8::Object>)' to 'node::addon_register_func' {aka 'void (v8::Local\u003cv8::Object>, v8::Local\u003cv8::Value>, void)'} [-Wcast-function-type]*\r\n*07:11:26          (node::addon_register_func) (regfunc),                          *\r\n07:11:26                                              ^\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/node.h:1010:3: note: in expansion of macro 'NODE_MODULE_X'\r\n07:11:26      NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)\r\n07:11:26      ^~~~~~~~~~~~~\r\n07:11:26   ../src/nodeJavaBridge.cpp:11:3: note: in expansion of macro 'NODE_MODULE'\r\n07:11:26      NODE_MODULE(nodejavabridge_bindings, init);\r\n07:11:26      ^~~~~~~~~~~\r\n07:11:26     CXX(target) Release/obj.target/nodejavabridge_bindings/src/utils.o\r\n07:11:26   In file included from ../src/utils.h:12,\r\n07:11:26                    from ../src/utils.cpp:1:\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker)':*\r\n07:11:26   ../node_modules/nan/nan.h:2294:62: warning: cast between incompatible function types from 'void (uv_work_t)' {aka 'void (uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (uv_work_s*, int)'} [-Wcast-function-type]*\r\n07:11:26        , reinterpret_cast\u003cuv_after_work_cb>(AsyncExecuteComplete)\r\n07:11:26                                                                 ^\r\n07:11:26   ../node_modules/nan/nan.h: In function 'void Nan::SetAccessor(v8::Local\u003cv8::ObjectTemplate>, v8::Local\u003cv8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, Nan::imp::Sig)':\r\n07:11:26   ../node_modules/nan/nan.h:2542:16: warning: 'void v8::ObjectTemplate::SetAccessor(v8::Local\u003cv8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local\u003cv8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::Local\u003cv8::AccessorSignature>, v8::SideEffectType, v8::SideEffectType)' is deprecated: Do signature check in accessor [-Wdeprecated-declarations]\r\n07:11:26        , signature);\r\n07:11:26                   ^\r\n07:11:26   In file included from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-function.h:15,\r\n07:11:26                    from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8.h:33,\r\n07:11:26                    from ../src/utils.h:6,\r\n07:11:26                    from ../src/utils.cpp:1:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-template.h:838:8: note: declared here\r\n07:11:26      void SetAccessor(\r\n07:11:26           ^~~~~~~~~~~\r\n07:11:26   ../src/utils.cpp: In function 'v8::Local\u003cv8::Value> javaExceptionToV8(Java, JNIEnv*, jthrowable, const string&)':*\r\n07:11:26   ../src/utils.cpp:455:128: warning: ignoring return value of 'v8::Maybe\u003cbool> v8::Object::Set(v8::Local\u003cv8::Context>, v8::Local\u003cv8::Value>, v8::Local\u003cv8::Value>)', declared with attribute warn_unused_result [-Wunused-result]\r\n07:11:26        ((v8::Object)v8ex)->Set(Nan::GetCurrentContext(), Nan::New\u003cv8::String>(\"cause\").ToLocalChecked(), javaToV8(java, env, ex));\r\n07:11:26                                                                                                                                   ^\r\n07:11:26   In file included from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-array-buffer.h:13,\r\n07:11:26                    from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8.h:24,\r\n07:11:26                    from ../src/utils.h:6,\r\n07:11:26                    from ../src/utils.cpp:1:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-object.h:244:37: note: declared here\r\n07:11:26      V8_WARN_UNUSED_RESULT Maybe\u003cbool> Set(Local\u003cContext> context,\r\n07:11:26                                        ^~~\r\n07:11:26   ../src/utils.cpp: In function 'v8::Local\u003cv8::Value> javaArrayToV8(Java, JNIEnv*, jobjectArray)':*\r\n07:11:26   ../src/utils.cpp:648:76: warning: ignoring return value of 'v8::Maybe\u003cbool> v8::Object::Set(v8::Local\u003cv8::Context>, uint32_t, v8::Local\u003cv8::Value>)', declared with attribute warn_unused_result [-Wunused-result]\r\n07:11:26            result->Set(Nan::GetCurrentContext(), i, JavaObject::New(java, obj));\r\n07:11:26                                                                               ^\r\n07:11:26   In file included from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-array-buffer.h:13,\r\n07:11:26                    from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8.h:24,\r\n07:11:26                    from ../src/utils.h:6,\r\n07:11:26                    from ../src/utils.cpp:1:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-object.h:247:37: note: declared here\r\n07:11:26      V8_WARN_UNUSED_RESULT Maybe\u003cbool> Set(Local\u003cContext> context, uint32_t index,\r\n07:11:26                                        ^~~\r\n07:11:26   ../src/utils.cpp:658:54: warning: ignoring return value of 'v8::Maybe\u003cbool> v8::Object::Set(v8::Local\u003cv8::Context>, uint32_t, v8::Local\u003cv8::Value>)', declared with attribute warn_unused_result [-Wunused-result]\r\n07:11:26            result->Set(Nan::GetCurrentContext(), i, item);\r\n07:11:26                                                         ^\r\n07:11:26   In file included from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-array-buffer.h:13,\r\n07:11:26                    from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8.h:24,\r\n07:11:26                    from ../src/utils.h:6,\r\n07:11:26                    from ../src/utils.cpp:1:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-object.h:247:37: note: declared here\r\n07:11:26      V8_WARN_UNUSED_RESULT Maybe\u003cbool> Set(Local\u003cContext> context, uint32_t index,\r\n07:11:26                                        ^~~\r\n07:11:26   ../src/utils.cpp: In function 'v8::Local\u003cv8::Value> javaToV8(Java, JNIEnv*, jobject, DynamicProxyData*)':*\r\n07:11:26   ../src/utils.cpp:721:168: warning: ignoring return value of 'v8::Maybe\u003cbool> v8::Object::Set(v8::Local\u003cv8::Context>, v8::Local\u003cv8::Value>, v8::Local\u003cv8::Value>)', declared with attribute warn_unused_result [-Wunused-result]\r\n07:11:26            v8ResultNumberObject->Set(Nan::GetCurrentContext(), Nan::New\u003cv8::String>(\"longValue\").ToLocalChecked(), Nan::New\u003cv8::String>(strValue.c_str()).ToLocalChecked());\r\n07:11:26                                                                                                                                                                           ^\r\n07:11:26   In file included from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-array-buffer.h:13,\r\n07:11:26                    from /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8.h:24,\r\n07:11:26                    from ../src/utils.h:6,\r\n07:11:26                    from ../src/utils.cpp:1:\r\n07:11:26   /home/ccadmin/.cache/node-gyp/18.12.1/include/node/v8-object.h:244:37: note: declared here\r\n07:11:26      V8_WARN_UNUSED_RESULT Maybe\u003cbool> Set(Local\u003cContext> context,\r\n07:11:26                                        ^~~\r\n07:11:26     SOLINK_MODULE(target) Release/obj.target/nodejavabridge_bindings.node\r\n07:11:26   /usr/bin/ld: cannot find -ljvm\r\n07:11:26   collect2: error: ld returned 1 exit status\r\n07:11:26   make: *** [nodejavabridge_bindings.target.mk:155: Release/obj.target/nodejavabridge_bindings.node] Error 1\r\n07:11:26   make: Leaving directory '/usr/src/app/Content_Connect/node_modules/java/build'\r\n07:11:26   gyp ERR! build error\r\n07:11:26   gyp ERR! stack Error: `make` failed with exit code: 2\r\n07:11:26   gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)\r\n07:11:26   gyp ERR! stack     at ChildProcess.emit (node:events:513:28)\r\n07:11:26   gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)\r\n07:11:26   gyp ERR! System Linux 3.10.0-862.14.4.el7.x86_64\r\n07:11:26   gyp ERR! command \"/usr/bin/node\" \"/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"\r\n07:11:26   gyp ERR! cwd /usr/src/app/Content_Connect/node_modules/java\r\n07:11:26   gyp ERR! node -v v18.12.1\r\n07:11:26   gyp ERR! node-gyp -v v9.1.0\r\n07:11:26   gyp ERR! not ok","author":{"url":"https://github.com/divishav","@type":"Person","name":"divishav"},"datePublished":"2023-01-17T10:12:46Z","url":"https://github.com/joeferner/node-java/issues/567"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b853faa7-376f-8e39-77b1-546744d00f80
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBC56:9A536:1B22F8F:2612AF9:6AFD0C99
html-safe-noncea55c86b96f1e9e0f2c72bcb5933bea006399b6479c29266285b6c19eb6bb1662
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzU2OjlBNTM2OjFCMjJGOEY6MjYxMkFGOTo2QUZEMEM5OSIsInZpc2l0b3JfaWQiOiI0MTM4MTYyNjIwMjUzMTQ2MjY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5fb5e2c94871de40ef7c6023121c96d84d33bff8b2f4ef00c070f814d842911a
hovercard-subject-tagissue:1536111638
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/joeferner/node-java/567/issue_layout
twitter:imagehttps://opengraph.githubassets.com/18da927ea52fb6fd45186c7ce773467fb3cfd4cd75fc3abea7fea138869bca66/joeferner/node-java/issues/567
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/18da927ea52fb6fd45186c7ce773467fb3cfd4cd75fc3abea7fea138869bca66/joeferner/node-java/issues/567
og:image:altWe are using node -v v18.12.1 node-gyp -v v9.1.0 on oraclelinux8-openjdk17.0.5 and getting the following error: 07:11:26 /usr/bin/ld: cannot find -ljvm 07:11:26 collect2: error: ld returned 1 exit ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedivishav
hostnamegithub.com
expected-hostnamegithub.com
Noneb29de2abb97b6307b16270785efeb58b51a117d5a9b659acf00b77aa00e7043b
turbo-cache-controlno-preview
go-importgithub.com/joeferner/node-java git https://github.com/joeferner/node-java.git
octolytics-dimension-user_id808857
octolytics-dimension-user_loginjoeferner
octolytics-dimension-repository_id3228734
octolytics-dimension-repository_nwojoeferner/node-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3228734
octolytics-dimension-repository_network_root_nwojoeferner/node-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c9e619def6d670dc18a45d3b02cea938c1c7e47
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/joeferner/node-java/issues/567#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjoeferner%2Fnode-java%2Fissues%2F567
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fjoeferner%2Fnode-java%2Fissues%2F567
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=joeferner%2Fnode-java
Reloadhttps://github.com/joeferner/node-java/issues/567
Reloadhttps://github.com/joeferner/node-java/issues/567
Reloadhttps://github.com/joeferner/node-java/issues/567
joefernerhttps://github.com/joeferner
node-javahttps://github.com/joeferner/node-java
Codehttps://github.com/joeferner/node-java
Issues208 (208)https://github.com/joeferner/node-java/issues
Pull requests2 (2)https://github.com/joeferner/node-java/pulls
Actionshttps://github.com/joeferner/node-java/actions
Projectshttps://github.com/joeferner/node-java/projects
Wikihttps://github.com/joeferner/node-java/wiki
Security and qualityhttps://github.com/joeferner/node-java/security
Insightshttps://github.com/joeferner/node-java/pulse
https://github.com/joeferner/node-java
New issuehttps://github.com/login?return_to=https://github.com/joeferner/node-java/issues/567
New issuehttps://github.com/login?return_to=https://github.com/joeferner/node-java/issues/567
Java install failing with : /usr/bin/ld: cannot find -ljvmhttps://github.com/joeferner/node-java/issues/567#top
https://github.com/divishav
divishavhttps://github.com/divishav
on Jan 17, 2023https://github.com/joeferner/node-java/issues/567#issue-1536111638
https://github.com/posenato
posenatohttps://github.com/posenato
on Jan 17, 2023https://github.com/joeferner/node-java/issues/567#issuecomment-1385164659
https://github.com/divishav
divishavhttps://github.com/divishav
on Jan 17, 2023https://github.com/joeferner/node-java/issues/567#issuecomment-1385210796
@posenatohttps://github.com/posenato
https://github.com/ltkrbk
ltkrbkhttps://github.com/ltkrbk
on Mar 9, 2023https://github.com/joeferner/node-java/issues/567#issuecomment-1461438323
https://github.com/DavidCosiallsSEATCODE
DavidCosiallsSEATCODEhttps://github.com/DavidCosiallsSEATCODE
on Aug 14, 2024https://github.com/joeferner/node-java/issues/567#issuecomment-2288338635
Sign up for freehttps://github.com/signup?return_to=https://github.com/joeferner/node-java/issues/567
Sign in to commenthttps://github.com/login?return_to=https://github.com/joeferner/node-java/issues/567
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.