DemoExpansion: add JNI bits