post part 2: call C++ functions from Java