node-java
node-java copied to clipboard
Bridge API to connect with existing Java APIs.
Prototype Pollution in async dependency: https://github.com/advisories/GHSA-fwr7-v2mv-hh25 Please, upgrade it! Thanks!
I'd like to add ``` if (!fs.existsSync(__dirname + '/build')){ fs.mkdirSync(__dirname + '/build'); } ``` above line 22 of `postInstall.js`. When creating the file `..(__dirname, './build/jvm_dll_path.json)` I get an error because...
It breaks the internal indefinite loop and allows Node process to quit without SIGTERM. Solves bug #539 - The process refuses to quit.
when I'm trying to use two modules that require the java module, I get the following error as soon as the second module starts using the java module (for example,...
 Text error (I used OCR so some things might be wrong): ``` Uncaught Exception: Error: Error running instance method java.lang.IllegalAccessException: JNI attached native thread (null caller frame) cannot access...
npm ERR! code 1 npm ERR! path D:\projects\nycmall\onlinesalesfrontend\node_modules\java npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild npm ERR! gyp info it worked if it ends...
Fail to install with ```npm i pdfreactor-loader``` My configuration node v16.14.0 npm 8.5.2 Python 3.10.4 java 18 2022-03-22 Java(TM) SE Runtime Environment (build 18+36-2087) Java HotSpot(TM) 64-Bit Server VM (build...
Run node-java in node thread worker. * We still have to import node-java at least once in our main thread code due to [context-aware addons](https://nodejs.org/docs/latest-v16.x/api/addons.html#:~:text=to%20NODE_MODULE().-,Context%2Daware%20addons,-%23).
After upgrading to Java 12: ``` Error: Error running instance method java.lang.NullPointerException at java.base/jdk.internal.reflect.Reflection.verifyMemberAccess(Reflection.java:130) at java.base/java.lang.reflect.AccessibleObject.slowVerifyAccess(AccessibleObject.java:673) at java.base/java.lang.reflect.AccessibleObject.verifyAccess(AccessibleObject.java:666) at java.base/java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:638) at java.base/java.lang.reflect.Method.invoke(Method.java:559) at Java.java.import (/Users/anton/projects/canva-s/web/node_modules/java/lib/nodeJavaBridge.js:240:52) ``` Might be related to...
I'm using java:0.12.2, and running on Windows 10. After executing the following code: ``` const java = require("java") const ArrayList = java.import("java.util.ArrayList"); console.log(new ArrayList().sizeSync()) ``` The process doesn't exit. Is...