Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

New to JNI  RSS feed

 
kataria prashant
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am new to JNI.
I am following all the steps to implement simple JNI,
Now the problem i got is
1) When i included jni.h in my C file i got error saying jni.h not found so How to resolve this?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

How does the .c file refer to the .h file? In most cases, both files would reside in the same directory. You might also want to work through this JNI tutorial.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!