This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to set java.library.path" Watch "how to set java.library.path" New topic

how to set java.library.path

apeksha agarwal

Joined: Oct 28, 2011
Posts: 12
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(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at jautil.install.NativeLibLoader.loadLibraryInternal(
at jautil.install.NativeLibLoader.loadLibrary(
at sigmlanim.JAnimgen.<clinit>(
at jautil.JAEnv.<init>(
at jautil.JAEnv.makeAppletJAEnv(
at app.SiGMLPlayerApplet.init(

[Thumbnail for 1.png]

[Thumbnail for 3.png]

[Thumbnail for 4.png]

Enrico Rosina

Joined: Nov 06, 2010
Posts: 14

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 ?

I agree. Here's the link:
subject: how to set java.library.path
Similar Threads
System.loadLibrary - location
running Swing app on solaris
no ocijdbc9 in java.library.path in JDK 1.4.2
Not able to find .dll file in my java path
The import javafx cannot be resolved