This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to set java.library.path
 
Similar Threads
The import javafx cannot be resolved
Not able to find .dll file in my java path
running Swing app on solaris
no ocijdbc9 in java.library.path in JDK 1.4.2
System.loadLibrary - location