Title: Does not load jvmlib.dylib file when packaged in app · Issue #410 · joeferner/node-java · GitHub
Open Graph Title: Does not load jvmlib.dylib file when packaged in app · Issue #410 · joeferner/node-java
X Title: Does not load jvmlib.dylib file when packaged in app · Issue #410 · joeferner/node-java
Description: Application works with npm start. Also, works fine on Windows. Issue is only on MacOS. I am seeing this error when I try to run my application (I am using electron): /Applications/ExportDataTool/App.app/Contents/Resources/app/node_module...
Open Graph Description: Application works with npm start. Also, works fine on Windows. Issue is only on MacOS. I am seeing this error when I try to run my application (I am using electron): /Applications/ExportDataTool/Ap...
X Description: Application works with npm start. Also, works fine on Windows. Issue is only on MacOS. I am seeing this error when I try to run my application (I am using electron): /Applications/ExportDataTool/Ap...
Opengraph URL: https://github.com/joeferner/node-java/issues/410
X: @github
Domain: redirect.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Does not load jvmlib.dylib file when packaged in app","articleBody":"Application works with npm start.\r\nAlso, works fine on Windows. Issue is only on MacOS.\r\n\r\nI am seeing this error when I try to run my application (I am using electron):\r\n\r\n/Applications/ExportDataTool/App.app/Contents/Resources/app/node_modules/java/lib/nodeJavaBr…:21 /Applications/AppTool/App.app/Contents/Resources/app/node_modules/java/build/Release/nodejavabridge_bindings.node\r\nangular.js:14642 Error: dlopen(/Applications/AppTool/App.app/Contents/Resources/app/node_modules/java/build/Release/nodejavabridge_bindings.node, 1): Library not loaded: @rpath/libjvm.dylib\r\n Referenced from: /Applications/AppTool/App.app/Contents/Resources/app/node_modules/java/build/Release/nodejavabridge_bindings.node\r\n Reason: image not found\r\n at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:173:20)\r\n at Object.Module._extensions..node (module.js:598:18)\r\n at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:173:20)\r\n at Module.load (module.js:488:32)\r\n at tryModuleLoad (module.js:447:12)\r\n at Function.Module._load (module.js:439:3)\r\n at Module.require (module.js:498:17)\r\n at require (internal/module.js:20:19)\r\n at Object.\u003canonymous> (/Applications/AppTool/App.app/Contents/Resources/app/node_modules/java/lib/nodeJavaBridge.js:22:16)\r\n at Object.\u003canonymous> (/Applications/AppTool/App.app/Contents/Resources/app/node_modules/java/lib/nodeJavaBridge.js:317:3) \"\u003cng-view class=\"ng-scope\">\"\r\n(anonymous) @ angular.js:14642\r\n(anonymous) @ angular.js:11102\r\nua @ angular.js:10522\r\nq @ angular.js:9909\r\nf @ angular.js:9149\r\n(anonymous) @ angular.js:9014\r\n(anonymous) @ angular.js:9405\r\nd @ angular.js:9192\r\nm @ angular.js:9959\r\nB @ angular-route.js:1012\r\n$broadcast @ angular.js:18698\r\n(anonymous) @ angular-route.js:652\r\n(anonymous) @ angular.js:17000\r\n$digest @ angular.js:18182\r\n$apply @ angular.js:18480\r\nl @ angular.js:12501\r\ns.onload @ angular.js:12655","author":{"url":"https://github.com/kreenasmehta","@type":"Person","name":"kreenasmehta"},"datePublished":"2017-09-26T22:15:14Z","url":"https://github.com/joeferner/node-java/issues/410"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0d1b04fe-ba60-7872-e8ad-6bb07c419a37 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9B5C:EAC78:3D70E:525CF:6AFD3C50 |
| html-safe-nonce | 68ed5be7fdab0c839725dccf91c094cb1d06554f7a35be5a0800a9cf71b10428 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjVDOkVBQzc4OjNENzBFOjUyNUNGOjZBRkQzQzUwIiwidmlzaXRvcl9pZCI6Ijg2MjUyMjc1MTI1OTIyODQ3NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1bfcdb36106d2879e6fe4ab3e161926e6840b0756e69ce590b4f3d10e158bfe8 |
| hovercard-subject-tag | issue:260787083 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/joeferner/node-java/410/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5e0fafb8bd6b20736478c209ee1e00957fd17cf0e45a65a70d912627a6a3e11b/joeferner/node-java/issues/410 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5e0fafb8bd6b20736478c209ee1e00957fd17cf0e45a65a70d912627a6a3e11b/joeferner/node-java/issues/410 |
| og:image:alt | Application works with npm start. Also, works fine on Windows. Issue is only on MacOS. I am seeing this error when I try to run my application (I am using electron): /Applications/ExportDataTool/Ap... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kreenasmehta |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/joeferner/node-java git https://github.com/joeferner/node-java.git |
| octolytics-dimension-user_id | 808857 |
| octolytics-dimension-user_login | joeferner |
| octolytics-dimension-repository_id | 3228734 |
| octolytics-dimension-repository_nwo | joeferner/node-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3228734 |
| octolytics-dimension-repository_network_root_nwo | joeferner/node-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width