<div dir="ltr">yes this one work :<div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">[gilles@localhost tools]$ cd
</span><br>[gilles@localhost ~]$ /usr/lib/jalbum/jre64/bin/java -Xmx1200M -jar /usr/lib/jalbum/JAlbum.jar
<br>WARNING: An illegal reflective access operation has occurred
<br>WARNING: Illegal reflective access by se.datadosen.jalbum.Config (file:/usr/lib/jalbum/lib/jalbum-core.jar) to method sun.swing.SwingUtilities2.checkAccess(int)
<br>WARNING: Please consider reporting this to the maintainers of se.datadosen.jalbum.Config
<br>WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
<br>WARNING: All illegal access operations will be denied in a future release
<br>Gtk-<span style="font-weight:bold;color:rgb(84,255,84);background-color:rgb(255,255,255)">Message</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">: Failed to load module "canberra-gtk-module"</span><br>
<br></span></div><div><span style="font-family:monospace">... JAlbum GUI appear</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Gilles</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-02-17 15:44 GMT+01:00 Andrew Goodbody <span dir="ltr"><<a href="mailto:ajg02@elfringham.co.uk" target="_blank">ajg02@elfringham.co.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I take it that<span class=""><br>
<br>
$ /usr/lib/jalbum/jre64/bin/java -Xmx1200M -jar /usr/lib/jalbum/JAlbum.jar<br>
<br></span>
worked OK then?<br>
<br>
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.<br>
<br>
Andrew<div><div class="h5"><br>
<br>
On 17/02/18 12:47, Gilles Caulier wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
Voilà :<br>
<br>
[gilles@localhost build]$ cd<br>
[gilles@localhost ~]$ /usr/lib/jalbum/jre64/bin/java -version<br>
java version "9.0.4"<br>
Java(TM) SE Runtime Environment (build 9.0.4+11)<br>
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)<br>
[gilles@localhost ~]$ java -Xmx1200M -jar /usr/lib/jalbum/JAlbum.jar<br>
Error: null<br>
java.lang.reflect.InvocationTa<wbr>rgetException<br>
at sun.reflect.NativeMethodAccess<wbr>orImpl.invoke0(Native Method)<br>
at sun.reflect.NativeMethodAccess<wbr>orImpl.invoke(NativeMethodAcce<wbr>ssorImpl.java:62) <br>
at sun.reflect.DelegatingMethodAc<wbr>cessorImpl.invoke(DelegatingMe<wbr>thodAccessorImpl.java:43) <br>
at java.lang.reflect.Method.invok<wbr>e(Method.java:498)<br>
at se.datadosen.jalbum.Main.main(<wbr>Main.java:44)<br>
Caused by: java.lang.NoClassDefFoundError<wbr>: javafx/beans/binding/BooleanEx<wbr>pression<br>
at se.datadosen.jalbum.SplashScre<wbr>en.<init>(SplashScreen.java:<wbr>39)<br>
at se.datadosen.jalbum.JAlbum.<in<wbr>it>(JAlbum.java:113)<br>
at se.datadosen.jalbum.JAlbum.mai<wbr>n(JAlbum.java:368)<br>
... 5 more<br>
Caused by: java.lang.ClassNotFoundExcepti<wbr>on: javafx.beans.binding.BooleanEx<wbr>pression<br>
at java.net.URLClassLoader.findCl<wbr>ass(URLClassLoader.java:381)<br>
at java.lang.ClassLoader.loadClas<wbr>s(ClassLoader.java:424)<br>
at java.lang.ClassLoader.loadClas<wbr>s(ClassLoader.java:357)<br>
... 8 more<br>
[gilles@localhost ~]$<br>
<br>
<br>
<br></div></div>
2018-02-17 12:51 GMT+01:00 Andrew Goodbody <<a href="mailto:ajg02@elfringham.co.uk" target="_blank">ajg02@elfringham.co.uk</a> <mailto:<a href="mailto:ajg02@elfringham.co.uk" target="_blank">ajg02@elfringham.co.uk</a><wbr>>>:<div><div class="h5"><br>
<br>
jAlbum works OK for you when started using the default script so it<br>
must be finding and adding JavaFX to the classpath in that case. So<br>
everything needed is included in the bundle, it is just whether or<br>
not it can find JavaFX when started by the plugin.<br>
<br>
As a test could you tell me what happens if you start jAlbum when<br>
the default directory is not where jAlbum is installed to. ie please<br>
$ cd<br>
$ /usr/lib/jalbum/jre64/bin/java -version<br>
$ /usr/lib/jalbum/jre64/bin/java -Xmx1200M -jar<br>
/usr/lib/jalbum/JAlbum.jar<br>
<br>
Then please try<br>
$ java -version<br>
$ java -Xmx1200M -jar /usr/lib/jalbum/JAlbum.jar<br>
<br>
Thanks,<br>
Andrew<br>
<br>
On 17/02/18 11:13, Gilles Caulier wrote:<br>
<br>
Well i don't, as the RPM include all Java stuff required by<br>
JAlbum... From this link :<br>
<br>
<a href="https://jalbum.net/en/software/download" rel="noreferrer" target="_blank">https://jalbum.net/en/software<wbr>/download</a><br>
<<a href="https://jalbum.net/en/software/download" rel="noreferrer" target="_blank">https://jalbum.net/en/softwar<wbr>e/download</a>><br>
<br>
I used this RPM :<br>
<br>
jAlbum for Linux (RPM for Fedora, SUSE, Red Hat etc.) (bundled<br>
with Java)<br>
<<a href="https://jalbum.net/en/downloadmirror/os/Linux/url/%252F%252Fdownload.jalbum.net%252Fdownload%252F15.2%252FLinux%252Fjalbum-15.2-1.x86_64.rpm" rel="noreferrer" target="_blank">https://jalbum.net/en/downloa<wbr>dmirror/os/Linux/url/%252F%<wbr>252Fdownload.jalbum.net%252Fdo<wbr>wnload%252F15.2%252FLinux%<wbr>252Fjalbum-15.2-1.x86_64.rpm</a><br>
<<a href="https://jalbum.net/en/downloadmirror/os/Linux/url/%252F%252Fdownload.jalbum.net%252Fdownload%252F15.2%252FLinux%252Fjalbum-15.2-1.x86_64.rpm" rel="noreferrer" target="_blank">https://jalbum.net/en/downloa<wbr>dmirror/os/Linux/url/%252F%<wbr>252Fdownload.jalbum.net%252Fdo<wbr>wnload%252F15.2%252FLinux%<wbr>252Fjalbum-15.2-1.x86_64.rpm</a>>><wbr>(115.5<br>
MB)<br>
<br>
It's clear : all is bundled. This want mean, that application<br>
must run without extra component to install.<br>
<br>
So for me, the bundle is not a bundle... or it's another java<br>
puzzle side effect ???<br>
<br>
Best<br>
<br>
Gilles Caulier<br>
<br>
<br>
2018-02-17 11:59 GMT+01:00 Andrew Goodbody<br>
<<a href="mailto:ajg02@elfringham.co.uk" target="_blank">ajg02@elfringham.co.uk</a> <mailto:<a href="mailto:ajg02@elfringham.co.uk" target="_blank">ajg02@elfringham.co.uk</a><wbr>><br></div></div>
<mailto:<a href="mailto:ajg02@elfringham.co.uk" target="_blank">ajg02@elfringham.co.uk</a> <mailto:<a href="mailto:ajg02@elfringham.co.uk" target="_blank">ajg02@elfringham.co.uk</a><wbr>>>>:<span class=""><br>
<br>
It works for me.<br>
<br>
<a href="https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener" rel="noreferrer" target="_blank">https://stackoverflow.com/ques<wbr>tions/20574866/noclassdeffound<wbr>error-javafx-beans-<wbr>invalidationlistener</a><br>
<<a href="https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener" rel="noreferrer" target="_blank">https://stackoverflow.com/que<wbr>stions/20574866/noclassdeffoun<wbr>derror-javafx-beans-<wbr>invalidationlistener</a>><br>
<<a href="https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener" rel="noreferrer" target="_blank">https://stackoverflow.com/que<wbr>stions/20574866/noclassdeffoun<wbr>derror-javafx-beans-<wbr>invalidationlistener</a><br>
<<a href="https://stackoverflow.com/questions/20574866/noclassdeffounderror-javafx-beans-invalidationlistener" rel="noreferrer" target="_blank">https://stackoverflow.com/que<wbr>stions/20574866/noclassdeffoun<wbr>derror-javafx-beans-<wbr>invalidationlistener</a>>><br>
<br>
The above link suggests that it should just work if you<br>
have Oracle<br>
Java 8 installed, which I do.<br>
<br>
Andrew<br>
<br>
<br>
<br>
On 17/02/18 08:53, Andrew Goodbody wrote:<br>
<br>
I used it a couple of weeks ago and all was well, but I<br>
use an<br>
older release of Jalbum. I'll have to see what's up<br>
with the<br>
latest release.<br>
<br>
Andrew<br>
<br>
On 17 February 2018 08:33:54 GMT+00:00, Gilles Caulier<br>
<<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.com</a><br>
<mailto:<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.c<wbr>om</a>><br></span>
<mailto:<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.c<wbr>om</a><div><div class="h5"><br>
<mailto:<a href="mailto:caulier.gilles@gmail.com" target="_blank">caulier.gilles@gmail.c<wbr>om</a>>>> wrote:<br>
<br>
Hi All,<br>
<br>
Somebody has already tried to export album to JAlbum ?<br>
Here, after<br>
installing current JAlbum generic RPM, i see this<br>
trace on<br>
the console:<br>
<br>
kipi.plugins: Saving jAlbum data to kipirc file..<br>
kipi.plugins: syncing..<br>
QXcbConnection: XCB error: 3 (BadWindow),<br>
sequence: 7847,<br>
resource<br>
id: 33554604, major code: 40 (TranslateCoords),<br>
minor code: 0<br>
Error: null<br>
java.lang.reflect.InvocationTa<wbr>rgetException<br>
at<br>
sun.reflect.NativeMethodAccess<wbr>orImpl.invoke0(Native Method)<br>
at<br>
sun.reflect.NativeMethodAccess<wbr>orImpl.invoke(NativeMethodAcce<wbr>ssorImpl.java:62)<br>
<br>
at<br>
sun.reflect.DelegatingMethodAc<wbr>cessorImpl.invoke(DelegatingMe<wbr>thodAccessorImpl.java:43)<br>
<br>
at<br>
java.lang.reflect.Method.invok<wbr>e(Method.java:498)<br>
at se.datadosen.jalbum.Main.main(<wbr>Main.java:44)<br>
Caused by: java.lang.NoClassDefFoundError<wbr>:<br>
javafx/beans/binding/BooleanEx<wbr>pression<br>
at<br>
se.datadosen.jalbum.SplashScr<wbr>een.<init>(SplashScreen.java:<wbr>39)<br>
at<br>
se.datadosen.jalbum.JAlbum.<in<wbr>it>(JAlbum.java:113)<br>
at<br>
se.datadosen.jalbum.JAlbum.mai<wbr>n(JAlbum.java:368)<br>
... 5 more<br>
Caused by: java.lang.ClassNotFoundExcepti<wbr>on:<br>
javafx.beans.binding.BooleanEx<wbr>pression<br>
at<br>
java.net.URLClassLoader.findCl<wbr>ass(URLClassLoader.java:381)<br>
at<br>
java.lang.ClassLoader.loadClas<wbr>s(ClassLoader.java:424)<br>
at<br>
java.lang.ClassLoader.loadClas<wbr>s(ClassLoader.java:357)<br>
... 8 more<br>
<br>
<br>
The stand alone version (Java GUI) work as<br>
expected through<br>
startjalbum.sh script:<br>
<br>
[gilles@localhost jalbum]$ pwd<br>
/usr/lib/jalbum<br>
[gilles@localhost jalbum]$ cat startjalbum.sh<br>
#!/bin/sh<br>
BASEDIR=$(dirname "$0")<br>
$BASEDIR/jre64/bin/java -Xmx1200M -jar<br>
$BASEDIR/JAlbum.jar<br>
<br>
So, i can conclude that JAlbum.jar is not started<br>
properly<br>
from the<br>
digiKam tool... Right ?<br>
<br>
Best<br>
<br>
Gilles Caulier<br>
<br>
<br>
<br>
<br>
<br>
</div></div></blockquote>
</blockquote></div><br></div>