• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNI FindClass jar files  RSS feed

 
Ken Seehof
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I open a class in a jar file from C++/JNI?

Suppose I have c:\foo\bar.jar, which contains mypackage/myclass.class.
What are the correct parameters:

...
options[nbOptions++].optionString = "-Djava.class.path= ";
...
env->FindClass(" ");

I've tried just about everything, except the right combination!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!