i am trying to use node-java package.i need to run small java code from node.js.first i run command
npm install java
after that i cloned so
Checking the script to compile node-java I see the setting for bootclasspath there: -bootclasspath /opt/jdk/jre/lib/rt.jar
-bootclasspath /opt/jdk/jre/lib/rt.jar
Do you have this jar file /opt/jdk/jre/lib/rt.jar? If not, then you may want to adjust the script to point to your JRE location.
/opt/jdk/jre/lib/rt.jar