• Post Reply Bookmark Topic Watch Topic
  • New Topic

Cramming for solving a java problem  RSS feed

 
Sree Nivas
Ranch Hand
Posts: 95
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got a problem , my java code is reffering a class method of a jar file (which comes along with installation).
But while debugging I found that it could not found that method so it is throwing the following exception

java.lang.UnsatisfiedLinkError: no Jawin in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at com.develop.jawin.Bootstrap.<clinit>(Bootstrap.java:32)
at com.develop.jawin.FuncPtr.<init>(FuncPtr.java:32)
at com.develop.jawin.win32.Ole32.<clinit>(Ole32.java:30)
at com.documentum.km.dca.WordContent$Application.<init>(WordContent.java:700)
at com.documentum.km.dca.WordContent.<init>(WordContent.java:75)
at com.documentum.km.dca.WordContent.<init>(WordContent.java:85)
at com.documentum.km.dca.DocumentInDocumentTree.getContent(DocumentInDocumentTree.java:1488)
at com.documentum.km.dca.Publisher.publishLevel(Publisher.java:292)
at com.documentum.km.dca.Publisher.publishLevel(Publisher.java:361)
at com.documentum.km.dca.Publisher.process(Publisher.java:112)
at com.documentum.km.dca.Agent.run(Agent.java:128)
at java.lang.Thread.run(Thread.java:536)
I hope this error will come when we refer to some native method and if it could not found that.
I kept that external jar file into classpath still the problem persists .

Can you suggest me what could be done to access native methods of a jar file from my java code

Please suggest me immediately as I have serious problem in production environment.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!