Try to do JNI development in Intellij, with debugging across languages like in Netbeans.