16
For me I found that the signature of the "put" method needed to be different from that listed in the example above. i.e.
jmethodID put = env->GetMethodID(mapClass, "put", "(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;");