Updated JNI example.
Added JNA example.