This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNI Example Needed!!

 
gautam anand
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is a JNI tutorial as Sun's site.

Guy
 
gautam anand
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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

Thanks
Gautam
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic