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
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
 
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