JNI sample passing Vector from C++ to JAVA

S

shivaraj

Hi,
I am facing some problems in JNI during
"env->FindClass("Ljava/util/Vector");" as its unable to identify the
class. Any one know the solution for this? or if you have any sample
code ( which will return Vector from C++ to JAVA ) that will be much
helpfull to understand and test in my setup.
Regards,
Shivaraj
 
B

Bill Medland

shivaraj said:
Hi,
I am facing some problems in JNI during
"env->FindClass("Ljava/util/Vector");" as its unable to identify the
class. Any one know the solution for this? or if you have any sample
code ( which will return Vector from C++ to JAVA ) that will be much
helpfull to understand and test in my setup.
Regards,
Shivaraj

I don't think you want the L

env->FindClass(env, "java/util/Vector")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,076
Latest member
OrderKetoBeez

Latest Threads

Top