jni work relating to accountmanagers