I created a [pull request] to add a feature to UE4. This adds a hook for UE4 plugins for a chance to get the JNI_OnLoad event more easily. I also added a UE4 plugin test project [UnrealEngine_JNI_OnLoad] to verify that the changes work as expected. [How to handle JAR files in UE4] is a topic that comes up on the community forums.