aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes JNI Example Needed!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JNI Example Needed!!" Watch "JNI Example Needed!!" New topic
Author

JNI Example Needed!!

gautam anand
Greenhorn

Joined: Jun 02, 2004
Posts: 22
Hi,

Can someone provide me with a simple JNI example where a native method is being called from a java program and the native method returns a string value which is printed in the java program. I sincerely appreciate your help.

Thanks
Gautam
Guy Allard
Ranch Hand

Joined: Nov 24, 2000
Posts: 776
There is a JNI tutorial as Sun's site.

Guy
gautam anand
Greenhorn

Joined: Jun 02, 2004
Posts: 22
Hi,

Thanks for your help Guy. Sun's tutorials were really helpful to understand the concept of JNI.

Thanks
Gautam
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNI Example Needed!!
 
Similar Threads
question about decompress?
Java Uses C?
can anyone explain me what is happening here
executing 'c' program using java
how to invoke HttpRequest from a C code?