Two Laptop Bag
The moose likes Java in General and the fly likes JNI with C++ Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "JNI with C++" Watch "JNI with C++" New topic

JNI with C++

padmanabh dongre

Joined: Aug 13, 2001
Posts: 24
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.
I agree. Here's the link:
subject: JNI with C++
It's not a secret anymore!