Fatal Error: Unable to find package java.lang in classpath or bootclasspath

前端 未结 1 1467
小蘑菇
小蘑菇 2021-01-14 15:28

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

相关标签:
1条回答
  • 2021-01-14 16:28

    Checking the script to compile node-java I see the setting for bootclasspath there: -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.

    0 讨论(0)
提交回复
热议问题