Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Native code?

 
Lara Martin
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is native code? I heard that Java creates a native code in Run time.How do I identify it?
And also, what is the use of JNI?
Thanks
Lara
 
Karl Laird
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JNI is the java native interface, it is the libraries and methods that java uses to interface / run with native code.
Native code is code written in other languages (such as C, C++, delphi, etc) - which are usually deemed to be native to one platform.
It can be difficult to get the hang of but is what allows the use of dlls etc on windows, or C libraries on Unix
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic