wood burning stoves
The moose likes Java in General and the fly likes Native code? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Native code?" Watch "Native code?" New topic

Native code?

Lara Martin

Joined: Feb 06, 2002
Posts: 23
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?
Karl Laird
Ranch Hand

Joined: Jul 14, 2001
Posts: 67
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

The Eagle sneers at the Peacock<p>Systems Administrator<br />OrderWare Solutions Ltd<br /><a href="http://www.orderware.net" target="_blank" rel="nofollow">http://www.orderware.net</a>
I agree. Here's the link: http://aspose.com/file-tools
subject: Native code?
It's not a secret anymore!