File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Information regarding 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 "Information regarding Native Code" Watch "Information regarding Native Code" New topic

Information regarding Native Code

kashwini Kulkarni
Ranch Hand

Joined: Aug 07, 2009
Posts: 63
Hello ,

I am a beginner in Java.I came across the " Native" keyword.
I have question regarding Native code.
How can I call a function written in from Java?

Thanks in Advance
Ashwini Kulkarni
Miklos Szeles
Ranch Hand

Joined: Oct 21, 2008
Posts: 142
Check Java Native Interface.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Start here:
Vamsi Mohan
Ranch Hand

Joined: Jun 20, 2009
Posts: 80
Native code is a code which is written and included other than Java language. The Java Native Interface (JNI) enables the integration of code written in the Java programming language with code written in other languages such as C and C++.

(SCJP5.0, IBM Rational Solution Designer, IBM Rational Architect, IBM RUP Designer)
Rob Spoor

Joined: Oct 27, 2005
Posts: 20275

kashwini Kulkarni wrote:I am a beginner in Java.

Native methods and JNI is a more advanced topic. Are you sure you want to go there already? If I were you I'd get some more experience, then try again.
kashwini Kulkarni
Ranch Hand

Joined: Aug 07, 2009
Posts: 63

Thanks to everyone for replying to me.

Ashwini Kulkarni
I agree. Here's the link:
subject: Information regarding Native Code
It's not a secret anymore!