File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to set java.library.path

 
apeksha agarwal
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
I am trying to set java.library.path for some of my .jar files but its not working.
below is my console output and some screen shots of the dialogs that appear in my code.
please help me in resolving this problem.


java.lang.UnsatisfiedLinkError: no jaglib in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at jautil.install.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:86)
at jautil.install.NativeLibLoader.loadLibrary(NativeLibLoader.java:26)
at sigmlanim.JAnimgen.<clinit>(JAnimgen.java:65)
at jautil.JAEnv.<init>(JAEnv.java:168)
at jautil.JAEnv.makeAppletJAEnv(JAEnv.java:143)
at app.SiGMLPlayerApplet.init(SiGMLPlayerApplet.java:155)
at sun.applet.AppletPanel.run(AppletPanel.java:424)
at java.lang.Thread.run(Thread.java:662)
1.png
[Thumbnail for 1.png]
3.png
[Thumbnail for 3.png]
4.png
[Thumbnail for 4.png]
 
Enrico Rosina
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I am not sure to understand what you are asking for, but from the stacktrace I guess it is an applet you are running?
If so you can reference more than one jar name in the <APPLET> or <OBJECT> tag... so did you signal your jaglib ?

Regards
Enrico
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic