• Post Reply Bookmark Topic Watch Topic
  • New Topic

C Implementation of a native code  RSS feed

 
Arka Sharma
Ranch Hand
Posts: 103
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Hi,

I was reading JNI tutorial on sun site.Everything was going fine.I declared native method in my class then compiled it and also generated header file using javah.But I got stuck in that in the C implementaion of the native function seems a bit complex to me.I saw some new types along with that some new functions which I never saw earlier.So give some idea or some links to get familiar with this.And C is not a new language to me neither Java.But I am trying JNI for the first time.

Regards,
Arka
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There used to be an extensive JNI tutorial on the Oracle web site that explains all that.
 
Arka Sharma
Ranch Hand
Posts: 103
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This one: http://java.sun.com/docs/books/jni/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!