bonjour
j'ai un problème au niveau de l'éxecution de mon programme, le programme est:
(jpcap est une bibliothèque pour capturer les trames), au compilation y'a pas d'erreur mais quand je l'éxecute il affiche ça:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14 import jpcap.*; class test { public static void main(String[] args) throws java.io.IOException{ Jpcap jpcap=null; String[] devices=Jpcap.getDeviceList(); for(int i=0;i<devices.length;i++) System.out.println(devices[i]); } }
C:\j2sdk1.4.2_03\bin>java test
Exception in thread "main" java.lang.UnsatisfiedLinkError: getDeviceList
at jpcap.Jpcap.getDeviceList(Native Method)
at test.main(test.java:9)
C:\j2sdk1.4.2_03\bin>
s'il vous plait si vous pouvez m'envoyer la réponse le plutôt possible et Merci d'avance
Partager