• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to fix the UnsatisfiedLinkError having a custom Class native method  RSS feed

 
Niladri Sen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I am having a snag implementing a native method which throws an java.lang.UnsatisfiedLinkError in my output. For the basic instance, java static library is found OK to load, whereas the output shows the following:



I am intended to furnish some basic implementation of my classes here:

Replication.java



Security.java



The vast snag comes to the class Normalize in Replication.java having a native method within this. I am also having a header file implementing the class as follows:

Normalize.h



And now when am going to implement the Normalize class as a native method as described in Replication.java my Replication.h file implemented like:

Replication.h


So my snag is whether am I using the code wrongly, I mean am I supposed to use jnorm in Replication.h such way that I furnished?

My english knowledge is not perfect, so any help in this regard is highly appretiated.

Thank you in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!