More "spam to self". Sorry.

Java Native Interface: "The quickest method is to use the Java Native Interface. This involves writing a wrapper class in C as the bridge between the Java application and the native method. As an example let's consider a situation where you may need to call Visual Basic code from Java."