Can't find native library...
843802Oct 1 2002 — edited Jan 31 2003 I've been using JWS for a number of months now. I have a client
on a W2000 box that is seeing the following error. I am also running
on a W2000 box and have never seen this error. As you can see, she is
running Java 1.4.1. My jnlp file references a native library. What I don't get is how it would be possible that the java.library.path would
be set up correctly on all but her machine? And shouldn't JWS automatically set the java.library.path for any native jars included
in my app?
I can see the jar (on my system) really deep in the directory structure:
C:\Program Files\Java Web Start\.javaws\cache\http\
Dwww.nearlythere.net\P80\DMntdan\
DMperformerWebStart\RNvidcapture.jar\capturelib.dll
This particular path is not in the java.library.path on my system, so does that mean that JWS has another way of finding a library besides java.library.path?
Any help is resolving this client's problem would be most appreciated,
Dan
Java Web Start 1.2 Console, started Wed Sep 25 16:52:33 CDT 2002 Java 2 Runtime Environment: Version 1.4.1
by Sun Microsystems Inc.
java.lang.UnsatisfiedLinkError: no capturelib in java.library.path at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at ATVideoCapture.<clinit>(ATVideoCapture.java:150)
at ATPerformer.initVideo(ATPerformer.java:1689)
at ATPerformer.<init>(ATPerformer.java:411)
at ATPerformer.main(ATPerformer.java:1745)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)