File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes how to set java.library.path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to set java.library.path" Watch "how to set java.library.path" New topic
Author

how to set java.library.path

apeksha agarwal
Greenhorn

Joined: Oct 28, 2011
Posts: 12
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)


[Thumbnail for 1.png]

[Thumbnail for 3.png]

[Thumbnail for 4.png]

Enrico Rosina
Greenhorn

Joined: Nov 06, 2010
Posts: 14
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to set java.library.path