• Post Reply Bookmark Topic Watch Topic
  • New Topic

Regards JNI  RSS feed

 
Raj chiru
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi....
I'm very new JNI Technology,could you please explain when to use JNI?
 
Rob Spoor
Sheriff
Posts: 21092
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The number one reason for using JNI is when you cannot do something in Java but you can in another language, and you want to call the code from that other language (usually C or C++) from Java. A good example is making native system calls (e.g. for accessing the Windows registry).
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Or you have a body of existing native code and don't want to convert it to Java.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!