wood burning stoves 2.0*
The moose likes Linux / UNIX and the fly likes help regarding JPCAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "help regarding JPCAP" Watch "help regarding JPCAP" New topic
Author

help regarding JPCAP

nithin sasi
Greenhorn

Joined: Mar 10, 2010
Posts: 2
ME AND MY FRIENDS ARE PUTTING UP THIS NETWORK APPLICATION TO IMPLEMENT AND COMPARE ROUTING ALGORITHMS
WE ARE EXPERIENCING ERROR WHICH IS CONCERNED WITH THE IMPROPER WORKING OF JPCAP
I M ATTASCHING THE ERROR MESSAGE :

Caused by: java.lang.UnsatisfiedLinkError: net.sourceforge.jpcap.capture.PacketCapture.lookupDevices()[Ljava/lang/String;
at net.sourceforge.jpcap.capture.PacketCapture.lookupDevices(Native Method)
at optimizedlinkstaterouting.packet.capture.OptimizedLinkStateRoutingPacketCaptureServer.startPacketCapture(OptimizedLinkStateRoutingPacketCaptureServer.java:31)
at optimizedlinkstaterouting.OptimizedLinkStateRoutingView.startPacketCaptureThread(OptimizedLinkStateRoutingView.java:814)

PLEASE HELP IN SOLVING THIS PROBLEM
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3013
    
  35

Please KeepItDown


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41064
    
  43
Jpcap needs native libraries to work with; have you added those to the PATH of the machine in question?


Ping & DNS - my free Android networking tools app
nithin sasi
Greenhorn

Joined: Mar 10, 2010
Posts: 2


yes i hav added the libraries..... still its not working........
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41064
    
  43
How, exactly, have you added them?
 
 
subject: help regarding JPCAP
 
Similar Threads
capturing packets going through my system
JPcap Problem
Network monitoring
Help-JPcap library and Network Statistics
calculate network traffic using jni