java packet capture

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • khaled
    New Member
    • Oct 2006
    • 1

    java packet capture

    hi i am developing a java program to capture the network traffic (TCP/IP) using the jpcap.jar files and when i intends to run the examples with it i get the follwing error:

    cannot access jpcap.packet.Et hernetPacket bad class file: C:\j2sdk1.4.2_0 9\jre\lib\ext\j pcap.jar(jpcap/packet/EthernetPacket. class)
    class file has wrong version 49.0, should be 48.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    import jpcap.packet.Et hernetPacket;

    note: i install winpcap_3 and install jpcap version 5 please help me urgently
  • doelf
    New Member
    • Oct 2006
    • 9

    #2
    Originally posted by khaled
    hi i am developing a java program to capture the network traffic (TCP/IP) using the jpcap.jar files and when i intends to run the examples with it i get the follwing error:

    cannot access jpcap.packet.Et hernetPacket bad class file: C:\j2sdk1.4.2_0 9\jre\lib\ext\j pcap.jar(jpcap/packet/EthernetPacket. class)
    class file has wrong version 49.0, should be 48.0
    Please remove or make sure it appears in the correct subdirectory of the classpath.
    import jpcap.packet.Et hernetPacket;

    note: i install winpcap_3 and install jpcap version 5 please help me urgently
    The error message is the answer. The version 48.0 is expected, but you deliver the version 49.0.

    Comment

    Working...