Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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: 42972
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!