Unable to initialize JNetPCap
"Unable to initialize JNetPCap,packet capture functionality will be disabled",why?How I can solve this problem?
What version are you trying to run? Are you installing from an installer or are you trying to build from source? What Operating System are you running on?
3.2 and 3.2.1 will produce this error message if GrassMarlin cannot find the native JNetPCap library in your working directory.
The version is 3.2,and I don't find an installer. I tried to run by running build-ant.xml, then running GrassMarlin.jar. The operating system is windows.And lib has jnetpcap.jar.
I would recommend downloading and running the v3.2.1 installer for your platform. The installers can be found under Releases on the main page or at https://github.com/iadgov/GRASSMARLIN/releases/tag/v3.2.1.
Using the release windows installer(GrassMarlin-64.msi), I still encountered this problem . My OS is Windows10 x64. I wonder if this has anything to do with the jdk version? My JDK version is JDK11.
Log shows "Unable to initialize JNetPCap, packet capture functionality will be disabled", but the native JNetPCap library is just in the directory "GM3\lib\jnetpcap.jar". It seems that something wrong happens when the code :
"System.loadLibrary("jnetpcap")" (Line 84 in "GM3\src\util\Launcher.java")
is executed.
Have you solved this problem yet? Can you tell me what I should do to solve this problem? Thank you very much.

Hi, Can you describe your work environment and indicate what version do you have installed?
Thanks
Thank you so much for your reply! I think the source files may be v3.2 or a higher version since they were downloaded in August 2017. They were compiled with java version "1.8.0_212" and run in win10_x64.
Hi,
I'm assuming you are running GM from source. If this is the case, have you tried using the msi package to install the pre-compiled code? I'll have to look deeper into it.
Thanks
Yes. I have tried using the msi package GrassMarlin-64.msi to install the pre-compiled code but the same log appears like the picture. It seems that something is wrong with the configuration or environment but I don't know how to fix it. Thanks anyway.

I am also getting this error. I just installed the GrassMarlin-Full-x64. And after running the installer and opening up GM, the error appears. I confirmed that I do have WinPCap installed as well
[SOLVED] I had 2 Java installs, a newer 210 and the 92 (which is from the GrassMarlin install) GrassMarlin default pointed to the wrong Java install. Removing both and only installing the 92 worked for me!