File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Information regarding Native Code

 
kashwini Kulkarni
Ranch Hand
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 142
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check Java Native Interface.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
 
Vamsi Mohan
Ranch Hand
Posts: 80
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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++.
 
Rob Spoor
Sheriff
Pie
Posts: 20372
44
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 63
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Thanks to everyone for replying to me.


Ashwini Kulkarni
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic