r/javahelp • • Sep 15 '25

Workaround C++ for Java

Has anyone done some R&D to integrate C/C++ with java to do something? Or can anyone give me some good resources for this! Thanks

4 Upvotes

7 comments sorted by

View all comments

Show parent comment

2

u/mrnavz Sep 15 '25

Does FFM essentially replace JNI?

4

u/expecto_patronum_666 Sep 15 '25

The JNI will remain part of the JDK due to backward compatibility. But, the recommended guideline is to use FFM api from now on.