You are not logged in.

#1 2017-10-05 14:45:28

rado3105
Member
Registered: 2011-10-09
Posts: 103

Java app. starting problem - fix the library with 'execstack -c <libfi

I try to run java application aircontrol, but it shows me this error. I tryed openjdk8, opendk9. Cant run the application, can anybody help where is problem? I have mesa installed on x220 lenovo.

sudo /opt/Ubiquiti/AirControl2/airControl2Client
Catched NoSuchFileException: /opt/Ubiquiti/AirControl2/lib/gluegen-rt-natives-linux-amd64.jar, while addNativeJarLibsImpl(classFromJavaJar class com.jogamp.common.os.Platform, classJarURI jar:file:/opt/Ubiquiti/AirControl2/lib/gluegen-rt.jar!/com/jogamp/common/os/Platform.class, nativeJarBaseName gluegen-rt-natives-linux-amd64.jar): [ file:/opt/Ubiquiti/AirControl2/lib/gluegen-rt.jar -> file:/opt/Ubiquiti/AirControl2/lib/ ] + gluegen-rt-natives-linux-amd64.jar -> slim: jar:file:/opt/Ubiquiti/AirControl2/lib/gluegen-rt-natives-linux-amd64.jar!/
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/opt/Ubiquiti/AirControl2/lib/gluegen-rt.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
OpenJDK 64-Bit Server VM warning: You have loaded library /opt/Ubiquiti/AirControl2/lib/libgluegen-rt.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
java.lang.UnsatisfiedLinkError: /opt/Ubiquiti/AirControl2/lib/libgluegen-rt.so: /opt/Ubiquiti/AirControl2/lib/libgluegen-rt.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2614)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2499)
        at java.base/java.lang.Runtime.load0(Runtime.java:812)
        at java.base/java.lang.System.load(System.java:1821)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibraryInternal(JNILibLoaderBase.java:551)
        at com.jogamp.common.jvm.JNILibLoaderBase.access$000(JNILibLoaderBase.java:64)
        at com.jogamp.common.jvm.JNILibLoaderBase$DefaultAction.loadLibrary(JNILibLoaderBase.java:96)
        at com.jogamp.common.jvm.JNILibLoaderBase.loadLibrary(JNILibLoaderBase.java:414)
        at com.jogamp.common.os.DynamicLibraryBundle$GlueJNILibLoader.loadLibrary(DynamicLibraryBundle.java:388)
        at com.jogamp.common.os.Platform$1.run(Platform.java:203)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.common.os.Platform.<clinit>(Platform.java:173)
        at javax.media.opengl.GLProfile.<clinit>(GLProfile.java:82)
        at PT.b(SourceFile:110)
        at PT.u(SourceFile:297)
        at com.ubnt.ac.client.AirClient.main(SourceFile:21)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
        at com.install4j.runtime.launcher.UnixLauncher.main(UnixLauncher.java:57) 

Offline

#2 2017-10-05 16:13:19

loqs
Member
Registered: 2014-03-06
Posts: 19,097

Re: Java app. starting problem - fix the library with 'execstack -c <libfi

java.lang.UnsatisfiedLinkError: /opt/Ubiquiti/AirControl2/lib/libgluegen-rt.so: /opt/Ubiquiti/AirControl2/lib/libgluegen-rt.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)

Is /opt/Ubiquiti/AirControl2/lib/libgluegen-rt.so a 32 bit library and is the system 64 bit?

$ file /opt/Ubiquiti/AirControl2/lib/libgluegen-rt.so
$ uname -m

Offline

Board footer

Powered by FluxBB