Call a function written in c programming language from java, JNI on jdk 9 and above, on ubuntu 18.04

preview_player
Показать описание
In this video, I show, how you can call a function written in c from a java code. It is called Java native interface. And, it is identified as functions marked as native in java code.
I am using jdk 15.
I am running Ubuntu 18.04 OS. And I am using gcc 10 for compiling c code.

Source code :-

#javanativeinterface #jni #javacoding #nativefunctioninjava #java
Рекомендации по теме
Комментарии
Автор

Thank you for this video. 🙂
It was informative but needs serious improvements.
A bit more clarification about the program flow would have been better, as to what is exactly happening & how.

Thank you once again.

aamirhoda
welcome to shbcf.ru