Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNI UnsatisfiedLinkError

 
K Aditi
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
I am getting java.lang.UnsatisfiedLinkError when I am trying to access a function from my dll.I have ensured that the library loads, the function's name is not mangled, have set the PATH variable correctly, the library has no dependencies.
Am I missing something here?

I am using JNI in a servlet deployed on Tomcat 5.0.

Thanks,
 
Nicholas Jordan
Ranch Hand
Posts: 1282
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where did you put the .dll?
 
K Aditi
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have put it in System32 folder of Windows.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic