deepak.marur 0 Newbie Poster

Hi all,

I've a curious problem with jni invocation. The explanation follows..

I have two pieces of code...a test stub, which is basically a stand alone java program and another the same code integrated into a component (the main function replaced by a static function). The code makes a jni method invocation by passing a few arguments. While the stand alone java program works fine, the component fails to invoke the jni method and hangs at the point of invocation.

The interesting part is both of them are loading the same library. Yet one works and the other fails.

Any ideas anybody.

thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.