you are missing a DLL or something from your PATH variable, Eclipse is probably setting this for you, inside eclipse, print java.library.path variable from System.getProperties() at least that is what I think it is, to be on the safe side do a
System.getProperties().list(System.out); Filip -----Original Message----- From: John MccLain [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 6:00 PM To: Tomcat user list Subject: java system toolkit (opensource) servlet access question I would like to use the cool opensource project JST, which accesses windows registries. I wish simply to read a value from it. When I run the sample app in eclipse, it works fine - I get my registry entry. But when I run it from a servlet I get the following error: ------------------------------------------- java.lang.UnsatisfiedLinkError: no jst in java.library.path java.lang.ClassLoader.loadLibrary(ClassLoader.java:1491) java.lang.Runtime.loadLibrary0(Runtime.java:788) . . . ------------------------------------------ The JST code is JNI code that links to a .dll file (jst.dll) does this have something to do with it?? Why should it run different in a servlet container than as a standalone app? - From the error above, How do I set my java.library.path to include jst.dll?? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]