Less than 42 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JNI with C++  RSS feed

 
padmanabh dongre
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i am getting an exception java.lang.UnsatisfiedLinkError when i try to run a native method public native void exec( ). The implementation of this method is in C++ and all it does is prints "hello world". and interestingly when i implement the same method in C instead of C++, it works. can someone tell me why?? also plz suggest me a good book for JNI.
thanx
Padmanabh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!