Hello, Jnetcap relies on native library, are you sure you added path to dll or so in java.library.path, example; -Djava.library.path="C:\Program Files\jnetpcap-1.3.b3-1"
Philippe M. http://www.ubik-ingenierie.com On Mon, Jul 9, 2012 at 11:06 PM, foxmadnes <[email protected]> wrote: > So I'm using jnetpcap in a sampler of my own, and building in Ant succeeds, > but when I try to run it inside JMeter I received a: > > jmeter.threads.JMeterThread: Test failed! java.lang.UnsatisfiedLinkError: > no > jnetpcap in java.library.path > > Even though not only is the jnetpcap.jar file in the lib folder (as > instructed in the JMeter docs) but I also tried setting > user-path:../lib/jnetpcap.jar , which loads correctly as shown in the > logs: > > 2012/07/09 15:45:42 INFO - jmeter.JMeter: > user.classpath=../lib/jnetpcap.jar > 2012/07/09 15:45:42 INFO - jmeter.JMeter: Adding to classpath: > ../lib/jnetpcap.jar > > But the sampler still returns the no jnetpcap in lava.library.path error. > > Any ideas? I seem to have followed the instructions but the outside jars > don't seem to work. > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/Can-t-seem-to-import-outside-jars-tp5713958.html > Sent from the JMeter - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Cordialement. Philippe Mouawad.
