Comments (3)
In my experience, the last compatible Node version with node-java v0.12.2 is v16.19.0.
from node-java.
@posenato But it was working with Node 18.12.1 with OpenJdk 11, it is only with Open Jdk 17 it is failing.
from node-java.
I just solve this problem. This problem is cause by the script find_java_libdir.sh . You can cloen the rep and open the find_java_libdir.sh, change to line:
`
if [[ "${java_version}" =~ (6|7|8) && "${os}" != "zos" ]]; then
to
if [[ "${java_version}" =~ (6|8) && "${os}" != "zos" ]]; then
and
if [[ "${os}" == "linux" && ! "${java_version}" =~ (6|7|8) ]]; then
to
if [[ "${os}" == "linux" && ! "${java_version}" =~ (6|8) ]]; then
and put the rep to your node project dir, and install the module via local:
npm install ./node-java-master
`
from node-java.
Related Issues (20)
- missing symbol called HOT 2
- not finding java install
- How android runs this library
- Is there a way to find JAVA_HOME and set include libraries at runtime?
- Java 11 Support
- Load nodejavabridge bindings.node err Error In Suse 12
- Vulnerability in async dependency HOT 3
- npm install error with openjdk17, but works with openjdk15 HOT 1
- Could not create class (Electron) HOT 1
- node-java installation error: `No member named 'AccessorSignature' in namespace 'v8'` - Node 20.9.0 HOT 1
- Not able to install node java in node 20 HOT 3
- Could not find method with parameter "sun.nio.fs.UnixPath, [I"
- latest, 0.14, package on npmjs.org isn't 0.14
- hard to install HOT 1
- Could not create class error instructions HOT 2
- Is there a way to add code completion or strong typing for objects with Typescript? HOT 1
- When to use the Sync method versus the normal method and when to use await
- Error: Could not set field a on class "Class"
- A way to add startup command line argument when loading java
- executable path is ""
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-java.