so hi basically really confused and new to jni. um basically i have in C

jstring str;
char * str1 = getStringhere(); // this just returns a char* of a string in a another // function i created
str = str1;

and this works but once i changed it to c++ it says almost the exact same thing
i get an error like cannot convert char* to _jstring*

it worked for C y not c++