代码拉取完成,页面将自动刷新
for linux, sudo is a prerequisite
//linux :at the pathtoproject/jnetpcap/linux/jnetpcap-1.4.r1425
//windows: at the pathtoproject/jnetpcap/win/jnetpcap-1.4.r1425
mvn install:install-file -Dfile=jnetpcap.jar -DgroupId=org.jnetpcap -DartifactId=jnetpcap -Dversion=1.4.1 -Dpackaging=jar
open a Terminal in the IDE
//linux:
$ sudo bash
$ ./gradlew execute
//windows:
$ gradlew execute
Run eclipse with sudo
1. Right click App.java -> Run As -> Run Configurations -> Arguments -> VM arguments:
-Djava.library.path="pathtoproject/jnetpcap/linux/jnetpcap-1.4.r1425" -> Run
2. Right click App.java -> Run As -> Java Application
open a Terminal in the IDE
//linux:
$ ./gradlew distZip
//window
$ gradlew distZip
the zip file will be in the pathtoproject/CICFlowMeter/build/distributions
At the project root
mvn package
the jar file will be in the pathtoproject/CICFlowMeter/target
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。