早教吧 育儿知识 作业答案 考试题库 百科 知识分享

Can'tfinddependentlibraries怎么解决Exceptioninthread"main"java.lang.UnsatisfiedLinkError:C:\ProgramFiles\Java\jdk1.6.017\bin\Jpcap.dll:Can'tfinddependentlibrariesatjava.lang.ClassLoader$NativeLibrary.load(NativeMethod)atjava.lang.C

题目详情
Can't find dependent libraries怎么解决
Exception in thread "main" java.lang.UnsatisfiedLinkError:C:\Program Files\Java\jdk1.6.0_17\bin\Jpcap.dll:Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1758)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1683)
at java.lang.Runtime.loadLibrary0(Runtime.java.823)
at java.lang.System.loadLibrary(System.java:1028)
at jpcap.JpcapCaptor.(JpcapCaptor.java:250)
at Netitf.main(Netitf.java:8)
Press any key to continue...
▼优质解答
答案和解析
无法找到依赖库,需要把你项目里用到的Jpcap.dll文件复制到C:\Program Files\Java\jdk1.6.0_17\bin下