Sometimes there is a need to call native library functions (through JNI) from the application running on Java. For example, there are libraries available with fast native implementation algorithms like compression, cipher-suites, machine learning etc related use cases where processing can be done without all JVM overheads, in other cases…