Wrapping C/C++ inside Java

前端 未结 8 1497
Happy的楠姐
Happy的楠姐 2021-02-07 09:24

I develop applications/programs in C/C++. I am more versed in these two languages and love being a C++ developer. I am wondering how to create a Java program that contains all m

8条回答
  •  一生所求
    2021-02-07 09:45

    I would avoid JNI because it's tedious to write, verbose, and just an altogether pain. Instead I'd use JNA library which makes writing native integration so simple.

    https://github.com/twall/jna/

    Good luck.

提交回复
热议问题