package examples.jni; public class JavaLoanApp { public JavaLoanApp(String libPath) { System.load(libPath); } /* Use this function to unit test whether the library is being loaded properly */ /* public static void main(String args[]) { JavaLoanApp jla = new JavaLoanApp("c:\\LoanApp.dll"); System.out.println ("Here is the output from the JNI call: " + jla.getHomeEquityLoanRate()); }*/ public native float getHomeEquityLoanRate(); }