JavaFX9 on Debian Wheezy (was Re: InternalError on Class.getPackage())

Kevin Rushforth kevin.rushforth at oracle.com
Wed Oct 21 15:11:47 UTC 2015


Hi Chris,

Thanks for the info. And sorry about the misleading error message. The 
latest bits (whenever they show up in an EA build) will at least give 
you a correct error message about not being able to load the .so file.

If you run "ldd -v libglass.so" I suspect it will show the missing 
dependency.

 > GNU C Library (Debian EGLIBC 2.13-38+deb7u8) stable release version 2.13,

This would likely be the problem then. We require GBLIC 2.14 or later.

-- Kevin


Chris Newland wrote:
> Hi Kevin,
>
> This is the result of trying to start a JavaFX application (JITWatch) with
> EA b83 on Debian 7 (Wheezy):
>
> Exception in thread "main" java.lang.RuntimeException:
> java.lang.UnsatisfiedLinkError: Invalid URL for class:
> jrt:/javafx.graphics/com/sun/glass/utils/NativeLibLoader.class
> 	at
> com.sun.javafx.tk.quantum.QuantumToolkit.startup(javafx.graphics at 9.0/QuantumToolkit.java:267)
> 	at
> com.sun.javafx.application.PlatformImpl.startup(javafx.graphics at 9.0/PlatformImpl.java:211)
> 	at
> com.sun.javafx.application.LauncherImpl.startToolkit(javafx.graphics at 9.0/LauncherImpl.java:715)
> 	at
> com.sun.javafx.application.LauncherImpl.launchApplication1(javafx.graphics at 9.0/LauncherImpl.java:735)
> 	at
> com.sun.javafx.application.LauncherImpl.lambda$launchApplication$156(javafx.graphics at 9.0/LauncherImpl.java:220)
> 	at java.lang.Thread.run(java.base at 9.0/Thread.java:746)
> Caused by: java.lang.UnsatisfiedLinkError: Invalid URL for class:
> jrt:/javafx.graphics/com/sun/glass/utils/NativeLibLoader.class
> 	at
> com.sun.glass.utils.NativeLibLoader.loadLibraryFullPath(javafx.graphics at 9.0/NativeLibLoader.java:162)
> 	at
> com.sun.glass.utils.NativeLibLoader.loadLibraryInternal(javafx.graphics at 9.0/NativeLibLoader.java:94)
> 	at
> com.sun.glass.utils.NativeLibLoader.loadLibrary(javafx.graphics at 9.0/NativeLibLoader.java:39)
> 	at
> com.sun.glass.ui.Application.loadNativeLibrary(javafx.graphics at 9.0/Application.java:112)
> 	at
> com.sun.glass.ui.Application.loadNativeLibrary(javafx.graphics at 9.0/Application.java:120)
> 	at
> com.sun.glass.ui.gtk.GtkApplication.lambda$static$44(javafx.graphics at 9.0/GtkApplication.java:52)
> 	at java.security.AccessController.doPrivileged(java.base at 9.0/Native Method)
> 	at
> com.sun.glass.ui.gtk.GtkApplication.<clinit>(javafx.graphics at 9.0/GtkApplication.java:51)
> 	at
> com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(javafx.graphics at 9.0/GtkPlatformFactory.java:41)
> 	at
> com.sun.glass.ui.Application.run(javafx.graphics at 9.0/Application.java:146)
> 	at
> com.sun.javafx.tk.quantum.QuantumToolkit.startup(javafx.graphics at 9.0/QuantumToolkit.java:257)
>
> My glibc version is:
>
> /lib/x86_64-linux-gnu/libc.so.6
> GNU C Library (Debian EGLIBC 2.13-38+deb7u8) stable release version 2.13,
> by Roland McGrath et al.
> Copyright (C) 2011 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> Compiled by GNU CC version 4.4.7.
> Compiled on a Linux 3.2.60 system on 2015-02-22.
> Available extensions:
> 	crypt add-on version 2.1 by Michael Glad and others
> 	GNU Libidn by Simon Josefsson
> 	Native POSIX Threads Library by Ulrich Drepper et al
> 	BIND-8.2.3-T5B
> libc ABIs: UNIQUE IFUNC
> For bug reporting instructions, please see:
> <http://www.debian.org/Bugs/>.
>
> Will try later with Debian 8 (Jessie).
>
> Kind regards,
>
> Chris
>
> On Wed, October 21, 2015 00:20, Kevin Rushforth wrote:
>   
>> Hi Chris,
>>
>>
>> Thanks, that would be helpful. One thing that did change in FX 9
>> relating to this is that with the updated GStreamer for JEP 257, we now
>> require GLIBC_2.14 for JDK 9.
>>
>> https://bugs.openjdk.java.net/browse/JDK-8133596
>>
>>
>> -- Kevin
>>
>>
>>     
>
>   


More information about the jigsaw-dev mailing list