This discussion is archived
3 Replies Latest reply: Jan 12, 2013 11:11 AM by 978828 RSS

RuntimeException when running javafx sample StopWatch on raspberry pi

978828 Newbie
Currently Being Moderated
Hi ..
I installed JDK 8 (with JavaFX) for ARM Early Access on my raspberry pi ,when i am trying to run a sample app i am getting this exception

Exception in thread "main" java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: Can't load library: /opt/jdk1.8.0/jre/lib/arm/libglass.so
     at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:325)
     at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:122)
     at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:163)
     at com.sun.javafx.application.LauncherImpl.access$000(LauncherImpl.java:47)
     at com.sun.javafx.application.LauncherImpl$1.run(LauncherImpl.java:115)
     at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.UnsatisfiedLinkError: Can't load library: /opt/jdk1.8.0/jre/lib/arm/libglass.so
     at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1846)
     at java.lang.Runtime.load0(Runtime.java:792)
     at java.lang.System.load(System.java:1060)
     at com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(Unknown Source)
     at com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(Unknown Source)
     at com.sun.glass.utils.NativeLibLoader.loadLibrary(Unknown Source)
     at com.sun.glass.ui.Application.loadNativeLibrary(Unknown Source)
     at com.sun.glass.ui.Application.loadNativeLibrary(Unknown Source)
     at com.sun.glass.ui.gtk.GtkApplication$1.run(Unknown Source)
     at com.sun.glass.ui.gtk.GtkApplication$1.run(Unknown Source)
     at java.security.AccessController.doPrivileged(Native Method)
     at com.sun.glass.ui.gtk.GtkApplication.<clinit>(Unknown Source)
     at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(Unknown Source)
     at com.sun.glass.ui.Application.run(Unknown Source)
     at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:315)
     ... 5 more

any idea why this is happening ?

Edited by: chandu0101 on Jan 8, 2013 7:14 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points