JAlbum won't start after export tool selection
Andrew Goodbody
ajg02 at elfringham.co.uk
Sun Mar 18 18:35:08 GMT 2018
I just pushed a fix for this.
Andrew
On 17/02/18 14:51, Gilles Caulier wrote:
> yes this one work :
>
> [gilles at localhost tools]$ cd
> [gilles at localhost ~]$ /usr/lib/jalbum/jre64/bin/java -Xmx1200M -jar
> /usr/lib/jalbum/JAlbum.jar
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by se.datadosen.jalbum.Config
> (file:/usr/lib/jalbum/lib/jalbum-core.jar) to method
> sun.swing.SwingUtilities2.checkAccess(int)
> WARNING: Please consider reporting this to the maintainers of
> se.datadosen.jalbum.Config
> 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
> Gtk-Message: Failed to load module "canberra-gtk-module"
>
> ... JAlbum GUI appear
>
> Gilles
>
> 2018-02-17 15:44 GMT+01:00 Andrew Goodbody <ajg02 at elfringham.co.uk
> <mailto:ajg02 at elfringham.co.uk>>:
>
> I take it that
>
> $ /usr/lib/jalbum/jre64/bin/java -Xmx1200M -jar
> /usr/lib/jalbum/JAlbum.jar
>
> worked OK then?
>
> So it looks like I can't rely on the system installation of java.
> The trouble is that on Debian based systems, there is no bundled
> java included. So I guess that I should test for the presence of a
> bundled java and use that if present, otherwise fallback to the
> system java.
>
> Andrew
>
>
> On 17/02/18 12:47, Gilles Caulier wrote:
>
> Voilà :
>
> [gilles at localhost build]$ cd
> [gilles at localhost ~]$ /usr/lib/jalbum/jre64/bin/java -version
> java version "9.0.4"
> Java(TM) SE Runtime Environment (build 9.0.4+11)
> Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
> [gilles at localhost ~]$ java -Xmx1200M -jar /usr/lib/jalbum/JAlbum.jar
> Error: null
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:498)
> at se.datadosen.jalbum.Main.main(Main.java:44)
> Caused by: java.lang.NoClassDefFoundError:
> javafx/beans/binding/BooleanExpression
> at
> se.datadosen.jalbum.SplashScreen.<init>(SplashScreen.java:39)
> at se.datadosen.jalbum.JAlbum.<init>(JAlbum.java:113)
> at se.datadosen.jalbum.JAlbum.main(JAlbum.java:368)
> ... 5 more
> Caused by: java.lang.ClassNotFoundException:
> javafx.beans.binding.BooleanExpression
> at
> java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 8 more
> [gilles at localhost ~]$
>
>
>
> 2018-02-17 12:51 GMT+01:00 Andrew Goodbody
> <ajg02 at elfringham.co.uk <mailto:ajg02 at elfringham.co.uk>
> <mailto:ajg02 at elfringham.co.uk <mailto:ajg02 at elfringham.co.uk>>>:
>
>
> jAlbum works OK for you when started using the default
> script so it
> must be finding and adding JavaFX to the classpath in that
> case. So
> everything needed is included in the bundle, it is just
> whether or
> not it can find JavaFX when started by the plugin.
>
> As a test could you tell me what happens if you start
> jAlbum when
> the default directory is not where jAlbum is installed to.
> ie please
> $ cd
> $ /usr/lib/jalbum/jre64/bin/java -version
> $ /usr/lib/jalbum/jre64/bin/java -Xmx1200M -jar
> /usr/lib/jalbum/JAlbum.jar
>
> Then please try
> $ java -version
> $ java -Xmx1200M -jar /usr/lib/jalbum/JAlbum.jar
>
> Thanks,
> Andrew
>
> On 17/02/18 11:13, Gilles Caulier wrote:
>
> Well i don't, as the RPM include all Java stuff required by
> JAlbum... From this link :
>
> https://jalbum.net/en/software/download
> <https://jalbum.net/en/software/download>
> <https://jalbum.net/en/software/download
> <https://jalbum.net/en/software/download>>
>
> I used this RPM :
>
> jAlbum for Linux (RPM for Fedora, SUSE, Red Hat etc.)
> (bundled
> with Java)
>
> <https://jalbum.net/en/downloadmirror/os/Linux/url/%252F%252Fdownload.jalbum.net%252Fdownload%252F15.2%252FLinux%252Fjalbum-15.2-1.x86_64.rpm
> <https://jalbum.net/en/downloadmirror/os/Linux/url/%252F%252Fdownload.jalbum.net%252Fdownload%252F15.2%252FLinux%252Fjalbum-15.2-1.x86_64.rpm>
>
> <https://jalbum.net/en/downloadmirror/os/Linux/url/%252F%252Fdownload.jalbum.net%252Fdownload%252F15.2%252FLinux%252Fjalbum-15.2-1.x86_64.rpm
> <https://jalbum.net/en/downloadmirror/os/Linux/url/%252F%252Fdownload.jalbum.net%252Fdownload%252F15.2%252FLinux%252Fjalbum-15.2-1.x86_64.rpm>>>(115.5
> MB)
>
> It's clear : all is bundled. This want mean, that
> application
> must run without extra component to install.
>
> So for me, the bundle is not a bundle... or it's
> another java
> puzzle side effect ???
>
> Best
>
> Gilles Caulier
>
>
> 2018-02-17 11:59 GMT+01:00 Andrew Goodbody
> <ajg02 at elfringham.co.uk <mailto:ajg02 at elfringham.co.uk>
> <mailto:ajg02 at elfringham.co.uk <mailto:ajg02 at elfringham.co.uk>>
> <mailto:ajg02 at elfringham.co.uk
> <mailto:ajg02 at elfringham.co.uk> <mailto:ajg02 at elfringham.co.uk
> <mailto:ajg02 at elfringham.co.uk>>>>:
>
> It works for me.
>
> https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener
> <https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener>
>
> <https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener
> <https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener>>
>
> <https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener
> <https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener>
>
> <https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener
> <https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener>>>
>
> The above link suggests that it should just work
> if you
> have Oracle
> Java 8 installed, which I do.
>
> Andrew
>
>
>
> On 17/02/18 08:53, Andrew Goodbody wrote:
>
> I used it a couple of weeks ago and all was
> well, but I
> use an
> older release of Jalbum. I'll have to see
> what's up
> with the
> latest release.
>
> Andrew
>
> On 17 February 2018 08:33:54 GMT+00:00, Gilles
> Caulier
> <caulier.gilles at gmail.com
> <mailto:caulier.gilles at gmail.com>
> <mailto:caulier.gilles at gmail.com
> <mailto:caulier.gilles at gmail.com>>
> <mailto:caulier.gilles at gmail.com
> <mailto:caulier.gilles at gmail.com>
>
> <mailto:caulier.gilles at gmail.com
> <mailto:caulier.gilles at gmail.com>>>> wrote:
>
> Hi All,
>
> Somebody has already tried to export
> album to JAlbum ?
> Here, after
> installing current JAlbum generic RPM, i
> see this
> trace on
> the console:
>
> kipi.plugins: Saving jAlbum data to
> kipirc file..
> kipi.plugins: syncing..
> QXcbConnection: XCB error: 3 (BadWindow),
> sequence: 7847,
> resource
> id: 33554604, major code: 40
> (TranslateCoords),
> minor code: 0
> Error: null
> java.lang.reflect.InvocationTargetException
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at
> java.lang.reflect.Method.invoke(Method.java:498)
> at
> se.datadosen.jalbum.Main.main(Main.java:44)
> Caused by: java.lang.NoClassDefFoundError:
> javafx/beans/binding/BooleanExpression
> at
>
> se.datadosen.jalbum.SplashScreen.<init>(SplashScreen.java:39)
> at
> se.datadosen.jalbum.JAlbum.<init>(JAlbum.java:113)
> at
> se.datadosen.jalbum.JAlbum.main(JAlbum.java:368)
> ... 5 more
> Caused by: java.lang.ClassNotFoundException:
> javafx.beans.binding.BooleanExpression
> at
>
> java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at
>
> java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at
>
> java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 8 more
>
>
> The stand alone version (Java GUI) work as
> expected through
> startjalbum.sh script:
>
> [gilles at localhost jalbum]$ pwd
> /usr/lib/jalbum
> [gilles at localhost jalbum]$ cat startjalbum.sh
> #!/bin/sh
> BASEDIR=$(dirname "$0")
> $BASEDIR/jre64/bin/java -Xmx1200M -jar
> $BASEDIR/JAlbum.jar
>
> So, i can conclude that JAlbum.jar is not
> started
> properly
> from the
> digiKam tool... Right ?
>
> Best
>
> Gilles Caulier
>
>
>
>
>
>
More information about the Digikam-devel
mailing list