JAlbum won't start after export tool selection
Andrew Goodbody
ajg02 at elfringham.co.uk
Sat Feb 17 11:51:03 GMT 2018
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
>
> 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>(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>>:
>
> It works for me.
>
> 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>> 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