jpcap.dll on a 64 bit system?

user1197004 picture user1197004 · Feb 28, 2012 · Viewed 8.5k times · Source

Hey i was using the Jpcap API on my system. It requires you to put a copy of jpcap.dll in the system32 folder. The problem is that it doesnt work on my 64 bit system.

I tried running a program in eclipse n it gave the following error -

"Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Windows\System32\jpcap.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform "

Is there a 64bit version of Jpcap.dll or how do i convert it or run on a 64 bit machine ?

Answer

Preethi picture Preethi · Oct 17, 2012

Even I don't know why this problem actually arises but I solved this problem by installing a 32-bit JDK rather than a 64-bit and it works absolutely fine.

You can give it a try.