can anyone help me with this error message.
when trying to compile a project in eclipse using jNetpcap API
I followed all the steps mentioned on the website below on how to set up the environment in a Debian distribution
http://jnetpcap.com/compile/debian
although I still get the following error message
choosedevice ... OpenJDK 64-Bit Server VM warning: you downloaded the library /usr/lib/libjnetpcap.so.1.3.b0003, which may have disabled stack protection. Now the VM will try to fix the stack protection. It is strongly recommended that you fix the library using 'execstack -c', or bind it to '-z noexecstack'. The exception to the main thread is java.lang.UnsatisfiedLinkError: /usr/lib/libjnetpcap.so.1.3.b0003:/usr/ lib / libjnetpcap.so.1.3.b0003: mauvaise classe ELF: ELFCLASS32 (Possible reason: architecture name mismatch width) in java.lang.ClassLoader $ NativeLibrary.load (Native Method) in java.lang.ClassLoader.loadLibrary1 (ClassLoader.java : 1965) in java.lang.ClassLoader.loadLibrary0 (ClassLoader.java:1890) in java.lang.ClassLoader.loadLibrary (ClassLoader.java:1880) in java.lang.Runtime.loadLibrary0 (Runtime.java:849) in java .lang.System.loadLibrary (System.java:1088) in org.jnetpcap.Pcap. (Unknown source) in main.Main_app.choosedevice (Main_app.java:74) at main.Main_app.main (Main_app.java:273)
By the way, I tried to execute "execstac -c", it doesnβt work at all. In addition, I spent days trying to figure out the solution, the only conclusion I have come up with so far: I need to use libjnetpcap.so (64-bit), since I have 64 bit architecture on my Debian. so what should i do?
PS: I cannot find ".deb" to install this library on a 64-bit version.
java eclipse debian shared-libraries libpcap
Sam ben
source share