You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Unknown JNI version: 11
at Object.c (.../node_modules/java-bridge/dist/index.prod.min.js:1:9102)
at .../src/main.js:3:12
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
at async loadESM (node:internal/process/esm_loader:28:7)
at async handleMainPromise (node:internal/modules/run_main:113:12) {code: 'GenericFailure'}
As far as I know, this parameter only sets the JNI version to be used, not the JVM version being used. The JVM version used depends on the JRE you are running this package with.
My test
Used versions:
Node script:
Execution result:
Note: Tested with
gives sucessfull result.
My request
According to
./node_modules/java-bridge/dist/definitions.d.ts
, "java-bridge" only supports these Java versions: 1.1, 1.2, 1.4, 1.6, 1.8, 9, and 10.
Could you implement support for Java >= 11?
The text was updated successfully, but these errors were encountered: