How to use c API in Java

I have to change the ID file password using JAVA