java.lang.RuntimeException

java.lang.UnsatisfiedLinkError: Can't load library: /opt/jstock/lib/amd64/libglass.so

Samebug tips1

When installing an APK, it automatically extracts the libraries of the right arch type and has them available for System.loadLibrary. But, if you're trying to load a non-standard library, the installer won't know your app has 32bit native code.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web2779

  • via jstock by diogomasilva
    ,
  • via Unknown by Veerendra S-Oracle,
  • Stack trace

    • java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: /opt/jstock/lib/amd64/libglass.so at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:284) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:127) at javafx.embed.swing.JFXPanel.initFx(JFXPanel.java:182) at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:199) at org.yccheok.jstock.google.SimpleSwingBrowser.<init>(SimpleSwingBrowser.java:32) at org.yccheok.jstock.google.MyAuthorizationCodeInstalledApp$1.run(MyAuthorizationCodeInstalledApp.java:135) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /opt/jstock/lib/amd64/libglass.so at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1854) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(NativeLibLoader.java:200) at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:88) at com.sun.glass.utils.NativeLibLoader.loadLibrary(NativeLibLoader.java:31) at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:74) at com.sun.glass.ui.Application.loadNativeLibrary(Application.java:81) at com.sun.glass.ui.gtk.GtkPlatformFactory$1.run(GtkPlatformFactory.java:28) at com.sun.glass.ui.gtk.GtkPlatformFactory$1.run(GtkPlatformFactory.java:25) at java.security.AccessController.doPrivileged(Native Method) at com.sun.glass.ui.gtk.GtkPlatformFactory.<clinit>(GtkPlatformFactory.java:25) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at com.sun.glass.ui.PlatformFactory.getPlatformFactory(PlatformFactory.java:20) at com.sun.glass.ui.Application.Run(Application.java:104) at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:274) ... 19 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    chocochechocoche
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    franky lifranky li
    134 times, last one
    Unknown visitor
    Unknown visitorOnce,
    163 more bugmates