aspose file tools
The moose likes Java in General and the fly likes JNI with C++ Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "JNI with C++" Watch "JNI with C++" New topic
Author

JNI with C++

padmanabh dongre
Greenhorn

Joined: Aug 13, 2001
Posts: 24
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
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JNI with C++
 
Similar Threads
JNI
JNI - library path - link error
JNI call
how Java does interprocess with C?
UnsatisfiedLinkError in JNI