"Java for C++" is a tool to generate C++-wrapper-classes for existing Java-classes. The implementation of the wrapper classes uses JNI to call the real Java classes. The C++-API to use these wrapper classes is very close to the API of the Java classes.