Obviously that doesn't compile, but I hate to make a file FooType.java with just the 5 lines above in it. Obviously that doesn't compile, but I hate to make a file ...
JNI allows the use of function libraries made in languages such as C, C++, VB from Java applications. The advantage of JNI is that you don't need to write the calling function definition in Java. This ...