364,083 Members | 5938 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

java packet capture

khaled
P: 1
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.EthernetPacket bad class file: C:\j2sdk1.4.2_09\jre\lib\ext\jpcap.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.EthernetPacket;

note: i install winpcap_3 and install jpcap version 5 please help me urgently
Oct 8 '06 #1
Share this Question
Share on Google+
1 Reply


doelf
P: 9
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.EthernetPacket bad class file: C:\j2sdk1.4.2_09\jre\lib\ext\jpcap.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.EthernetPacket;

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.
Oct 11 '06 #2

Post your reply

Help answer this question



Didn't find the answer to your Java question?

You can also browse similar questions: Java