VM warning on 64-bit OpenJDK server: you loaded a library that could disable stack protection

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.

+7
java eclipse debian shared-libraries libpcap
source share

No one has answered this question yet.

See related questions:

2
java.lang.UnsatisfiedLinkError when using JNI on ubuntu
one
Error starting advanced MTShell in MT4J
one
Missing libraries in JNI2OpenCV?
one
Including a painless module in an eclipse openCV 3.0 project
one
is there a way to run a java leibict sample on a 64-bit Windows7 platform?
0
Java JNI links multiple libraries
0
Missing Java library when submitting a Grid Engine job
0
unresolved symbol from libCrunG3.so.1 when loading a library from Java on Solaris
0
java.lang.UnsatisfiedLinkError: no jcryptoki in java.library.path
0
When using OpenCV and JavaCV, the program gives an error

All Articles