I don\'t know how to use Java variables in C++ code (using JNI). And I want something like make variable in Java and change it (or something like that) in C++ code.