Open DManstrator opened 2 years ago
How did you solve this problem?
How did you solve this problem?
I didn't find a solution for this problem as of now, I'm still hoping for an answer.
0.12.1
Hi, Would you please give me the node-java v0.12.1 can rebuild in Electron project or Procedure ? I can't success to rebuild node-java with electron... So many thanks...
my email: jianchang69@gmail.com
@jianchang69 You should use npm to get the dependencies. Just pin the version to 0.12.1
in your package.json
.
thank DManstrator, I can rebuild v.0.12.1 and electron v.12.2.2. But hopefully still can rebuild with newest electron version ... The electron latest version is v.17 with can't rebuild with node-java v.0.12.1..even electron v.14 rebuild fail.
Yeah, that's exactly the same issue I currently face hence why I opened this issue. I still need to find a new approach to this since this library seems unmaintained. In worst case, I have to re-implement everything in a different language. But for now, it's pretty low on my ToDo list.
The same problem
The same...
For me solved here: lygstate/node-java #532 Thank you!
hi, ddrigass we can rebuild node-java 0.12.2 with electron v18 thank a lot your information.. but when java code return byte array type to javascript, it happend error...><
I doubte here is problem:
Nan::MaybeLocal
For me solved here: lygstate/node-java #532 Thank you!
Thanks, it works at electron 24.1.2
Hello.
When using version
0.12.1
, building and running the electron app works, but not with using version0.12.2
.When I try to use the code below, it fails on
0.12.2
sinceelectronbrowser\src\main\electron\node_modules\java\build\Release\nodejavabridge_bindings.node
does not exist. However on0.12.1
this does exist (see screenshots below). This reflects also what the logs show.Execution:
I would be very glad to get some help on this, spend a day trying to resolve it but without any success. When you need more information, please notify me.
Versions:
Software
Desktop development with C++
Dependencies
Logs / Stacktrace (partially in German)
Folder comparison
Edit 1
Changed setup to make it at least completely runnable on version 0.12.1. This made the issue also less confusing. By now I'm pretty sure that is a bug with node-java.