Can I call Java from Node.js via JNI and how?

后端 未结 5 2020
难免孤独
难免孤独 2020-12-02 08:20

can I call Java from Node.js via JNI? Are there any examples?

5条回答
  •  难免孤独
    2020-12-02 08:23

    I think what you are looking for is a native extension to use as a bridge. Although I don't have an example of what you are saying, I do have an example on how to call a C++ extension using Node.JS

    https://github.com/jrgleason/NodeJSArduinoLEDController

提交回复
热议问题