You are not logged in.

#1 2016-06-19 21:59:05

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Little help with the PKGBUILD for jalbum ... java errors [solved]

The package for jalbum but am finding that my build of 13.2 is throwing errors which prevent it from starting.  Advise from java-savvy folks would be appreciated.

Link in the AUR: https://aur.archlinux.org/packages/jalbum
Specific error I am seeing when I attempt to launch it:

% java -Xmx1200m -DuseDesktop=true -jar /usr/lib/jalbum/JAlbum.jar
java.lang.NoClassDefFoundError: javafx/beans/binding/BooleanExpression
	at se.datadosen.jalbum.SplashScreen.<init>(SplashScreen.java:40)
	at se.datadosen.jalbum.JAlbum.<init>(JAlbum.java:113)
	at se.datadosen.jalbum.JAlbum.main(JAlbum.java:364)
	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.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

Last edited by graysky (2016-06-19 23:57:43)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2016-06-19 23:04:17

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Little help with the PKGBUILD for jalbum ... java errors [solved]

You lack the javafx libraries. In the case of Arch and OpenJDK they are part of the java-openjfx package and are supposed to be run with a java 8 runtime. If one uses the Oracle JDK 8 it should be part of the package already. So not really sure how you should handle this, maybe an opt dep and/or an info in post-install that one has to install java-openjfx for it to work if the used jdk comes from OpenJDK instead of Oracle

Last edited by V1del (2016-06-19 23:09:04)

Offline

#3 2016-06-19 23:57:30

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Little help with the PKGBUILD for jalbum ... java errors [solved]

@V1del - That was the problem.  Thank you for the solution.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2016-06-20 00:18:17

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,465

Re: Little help with the PKGBUILD for jalbum ... java errors [solved]

The oracle packages in the AUR "provide" java-openjfx, so you can just depend on that and be fine.

Online

Board footer

Powered by FluxBB