• Post Reply Bookmark Topic Watch Topic
  • New Topic

JNI - C program works properly, but the JNI wrapper is not....  RSS feed

 
Vinney Shanmugam
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have got a C program which retrieves me a value after quering a process which runs on my UNIX system. When i build a wrapper around it using JNI, i was getting Invalid parameter address. the wrapper does nothing extra other than what C program is doing except It gets called from JAVA. Anyone please through some light on this. I am sitting on this problem for more than 2 days now.
 
Rob Spoor
Sheriff
Posts: 21050
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please tell the details. Without any code we cannot see what you are doing. But please keep in mind to not post full source files; try to post a SSCCE instead.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!