This question is answered. Helpful answers available: 0. Correct answers available: 1.


Permlink Replies: 26 - Pages: 2 [ 1 2 | Next ] - Last Post: 16-Mar-2016 16:21 Last Post By: davidekholm
joneall

Posts: 61
Registered: 14-Aug-2007
Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 07:56
 
  Click to reply to this thread Reply
$ sudo dpkg -i jalbum_13-1_all.deb
sudo password for jon:
(Reading database ... 239733 files and directories currently installed.)
Preparing to unpack jalbum_13-1_all.deb ...
Unpacking jalbum (13-1) over (12.4-1) ...
dpkg: dependency problems prevent configuration of jalbum:
jalbum depends on java9-runtime | java8-runtime; however:
Package java9-runtime is not installed.
Package java8-runtime is not installed.

dpkg: error processing package jalbum (--install):
dependency problems - leaving unconfigured

I cannot find java9-runtime (or java9-runtime) anywhere in the repositories. In fact, Ubuntu uses OpenJDK. Please explain how to get Jalbum to configure.

In addition, when I go to the archives to look for an older version and click on it, I get an error 404.

Just not my day. ;)

Why is 13.1 so much smaller than 12.6?

-rwxrwxr-x 1 jon sjuser 171667968 Apr 29 2015 jalbum_12.6.4-1_all.deb*
-rw-rw-r-- 1 jon jon 23138748 Nov 8 09:09 jalbum_13-1_all.deb

Edited by: joneall on 11-Nov-2015 07:58
RobM

Posts: 4,382
Registered: 4-Aug-2006
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 10:32   in response to: joneall in response to: joneall
 
  Click to reply to this thread Reply
joneall wrote:
$ sudo dpkg -i jalbum_13-1_all.deb
sudo password for jon:
dpkg: dependency problems prevent configuration of jalbum:
jalbum depends on java9-runtime | java8-runtime; however:
Package java9-runtime is not installed.
Package java8-runtime is not installed.

dpkg: error processing package jalbum (--install):
dependency problems - leaving unconfigured

I cannot find java9-runtime (or java9-runtime) anywhere in the repositories. In fact, Ubuntu uses OpenJDK. Please explain how to get Jalbum to configure.

In addition, when I go to the archives to look for an older version and click on it, I get an error 404.

Just not my day. ;)

Why is 13.1 so much smaller than 12.6?

You have downloaded the version without Java, the first line shows all.deb.
Did you try http://jalbum.net/en/software/download/all-systems and then selecting the 167.3MB file for Debian?

Edited by: RobM on 11-Nov-2015 09:33
It looks like you have the non-Java version is what I should have said.
hpensch

Posts: 4
Registered: 24-May-2012
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 12:53   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
| Did you try http://jalbum.net/en/software/download/all-systems and then selecting the |167.3MB file for Debian?

I ran into the same problem with my mint system:.
When trying to download I always get only the 22,1 MB file and not the 167,3 MB file. Presumably the file ist not linked to the 167.3MB file.
RobM

Posts: 4,382
Registered: 4-Aug-2006
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 13:24   in response to: hpensch in response to: hpensch
 
  Click to reply to this thread Reply
I have moved this to the website forum as it looks like the download links got trashed somehow, same problem reported with Windows version.
joneall

Posts: 61
Registered: 14-Aug-2007
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 13:52   in response to: hpensch in response to: hpensch
 
  Click to reply to this thread Reply
I did select the 167.3mb download. But on arrival, it was onl 22.1 Mb. Must be a bad link. Will someone fix this please?
hpensch

Posts: 4
Registered: 24-May-2012
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 13:56   in response to: joneall in response to: joneall
 
  Click to reply to this thread Reply
A link problem could also exist with the Zip and Java download files. hey appear to small in comparison with the former version of JAlbum12.
davidekholm

Posts: 21,460
Registered: 18-Oct-2002
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 14:06   in response to: hpensch in response to: hpensch
 
  Click to reply to this thread Reply
Sorry about the installation troubles. The reason for the far smaller size is because we no longer need to bundle a 32 and 64 bit native code embedded browser component (jxBrowser). We now rely on the browser component built into Java 8. I recommend using Oracle's Java 8, that one also includes JavaFX, which is now needed. If you really want to use OpenJDK instead, then you manually need to get OpenJFX too.
RobM

Posts: 4,382
Registered: 4-Aug-2006
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 14:49   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
The reason for the far smaller size is because we no longer need to bundle a 32 and 64 bit native code embedded browser component (jxBrowser). We now rely on the browser component built into Java 8. I recommend using Oracle's Java 8, that one also includes JavaFX, which is now needed. If you really want to use OpenJDK instead, then you manually need to get OpenJFX too.
The reduced file sizes now showing on the download page is better; the bundling of Java or not is still not so clear. Is it worth showing specifically for all downloads if Java is included or not, not just Windows and for 'Anything with Java'?
hpensch

Posts: 4
Registered: 24-May-2012
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 15:04   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
I do understand, unfortunately ubuntu LTS 14.04 does not provide Java8 until now. So I wil have to install Oracle Java 8,
jimberry

Posts: 7,465
Registered: 30-Aug-2004
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 15:29   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
davidekholm wrote:
We now rely on the browser component built into Java 8. I recommend using Oracle's Java 8, that one also includes JavaFX, which is now needed.
Is JFX is only required for the embedded browser?
Is it absolutely necessary for v13 to rely on the use of something that not everyone needs, and some find difficult to obtain?

I don't have any issues with using Ubuntu 15.04 (where I can actually manually install the missing OpenJFX), However, I can understand that others may want to stay with the latest LTS version 14.04.

I don't see the availabiity of an embedded browser as critical - It is easy enough to use an external browser.

Edited by: jimberry on 12-Nov-2015 02:05
jimberry

Posts: 7,465
Registered: 30-Aug-2004
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 16:32   in response to: hpensch in response to: hpensch
 
  Click to reply to this thread Reply
hpensch wrote:
I do understand, unfortunately ubuntu LTS 14.04 does not provide Java8 until now. So I wil have to install Oracle Java 8,
If you would prefer to stick with OpenJDK, it is possibly just as easy to install jdk 8 and OpenJFX in 14.04 as it is to install Oracle JDK (Maybe I should call it "closed JDK" since OpenJDK is also Oracle ;-) )
Here is a link to OpenJDK 8
joneall

Posts: 61
Registered: 14-Aug-2007
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 20:54   in response to: jimberry in response to: jimberry
 
  Click to reply to this thread Reply
I installed OpenJDK 8 as per your suggestion.

$ java -version
openjdk version "1.8.0_45-internal"
OpenJDK Runtime Environment (build 1.8.0_45-internal-b14)
OpenJDK 64-Bit Server VM (build 25.45-b02, mixed mode)

Jalbum installed without a hitch.

$ sudo dpkg -i jalbum_13-1_all.deb
Selecting previously unselected package jalbum.
(Reading database ... 242739 files and directories currently installed.)
Preparing to unpack jalbum_13-1_all.deb ...
Unpacking jalbum (13-1) ...
Setting up jalbum (13-1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'

However, I can not run it.

$ ./startjalbum.sh
java.lang.NoClassDefFoundError: javafx/beans/value/ChangeListener
at se.datadosen.jalbum.SplashScreen.<init>(SplashScreen.java:39)
at se.datadosen.jalbum.JAlbum.<init>(JAlbum.java:107)
at se.datadosen.jalbum.JAlbum.main(JAlbum.java:358)
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:497)
at se.datadosen.jalbum.Main.main(Main.java:44)
Caused by: java.lang.ClassNotFoundException: javafx.beans.value.ChangeListener
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

So now what? In the meantime, I have installed 12.7.2

jGromit

Posts: 33,185
Registered: 31-Jan-2006
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 22:47   in response to: joneall in response to: joneall
 
  Click to reply to this thread Reply
OpenJDK, by itself, is not enough. Because it doesn't include JavaFX, you also need to install OpenJFX.

And I suspect that OpenJDK 1.8.0_45 won't do the trick, anyway. You'll probably need 1.8.0_66.

Or just install the Oracle binaries.
jimberry

Posts: 7,465
Registered: 30-Aug-2004
Re: Install of Jalbum 13 fails on Ubuntu -- java9-runtime dependency
Posted: 11-Nov-2015 23:08   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
OpenJDK 1.8.0_45 does the trick for me, but yes, as mentioned above OpenJFX needs to be installed as well since for some unexplained reason, the OpenJDK install itself does NOT include OpenJFX (which is available from Ubuntu's packet manager, "Software Centre").

Edited by: jimberry on 12-Nov-2015 20:35

Edited by: jimberry on 14-Nov-2015 01:23
karlmistelberger

Posts: 734
Registered: 5-Dec-2013
Installing jAlbum 13 on Linux
Posted: 12-Nov-2015 07:38   in response to: jGromit in response to: jGromit
Helpful
  Click to reply to this thread Reply
jGromit wrote:
OpenJDK, by itself, is not enough. Because it doesn't include JavaFX, you also need to install OpenJFX. And I suspect that OpenJDK 1.8.0_45 won't do the trick, anyway. You'll probably need 1.8.0_66. Or just install the Oracle binaries.


Installing jAlbum 13 on Linux is straight forward.


One of my systems being 32 bit openSuse 13.2 I downloaded the following packages:
-rw-r--r-- 1 karl users 23M  4. Nov 20:11 jalbum-13-1.noarch.rpm
-rw-r--r-- 1 karl users 49M  9. Nov 18:13 jre-8u66-linux-i586.rpm


Then I installed:
rpm -i jalbum-13-1.noarch.rpm
rpm -i jre-8u66-linux-i586.rpm

That's all. You are done.



Note:

  • Invoke jAlbum using
    /usr/java/jre1.8.0_66/bin/java -Xmx400m -DuseDesktop=true -jar /usr/share/jalbum/JAlbum.jar
    
    or define a shortcut.

  • You can install and use different versions of "java" in parallel, my system has:
    hofkirchen:/home/karl/Downloads # ll /etc/alternatives/j*
    lrwxrwxrwx 1 root root 30  9. Nov 18:23 /etc/alternatives/java -> /usr/java/jre1.8.0_66/bin/java
    lrwxrwxrwx 1 root root 55 23. Sep 19:04 /etc/alternatives/javaplugin -> /usr/lib/java-1_8_0-openjdk-plugin/lib/IcedTeaPlugin.so
    lrwxrwxrwx 1 root root 45 23. Sep 19:04 /etc/alternatives/javaws -> /usr/lib/java-1_8_0-openjdk-plugin/bin/javaws
    lrwxrwxrwx 1 root root 61 23. Sep 19:04 /etc/alternatives/javaws.1.gz -> /usr/lib/java-1_8_0-openjdk-plugin/share/man/man1/javaws.1.gz
    lrwxrwxrwx 1 root root 68 23. Sep 19:04 /etc/alternatives/javaws.desktop -> /usr/lib/java-1_8_0-openjdk-plugin/share/applications/javaws.desktop
    lrwxrwxrwx 1 root root 59 23. Sep 19:04 /etc/alternatives/javaws.png -> /usr/lib/java-1_8_0-openjdk-plugin/share/pixmaps/javaws.png
    lrwxrwxrwx 1 root root 30 11. Feb 2015  /etc/alternatives/jre_1.7.0 -> /usr/lib/jvm/jre-1.7.0-openjdk
    lrwxrwxrwx 1 root root 38 11. Feb 2015  /etc/alternatives/jre_1.7.0_exports -> /usr/lib/jvm-exports/jre-1.7.0-openjdk
    lrwxrwxrwx 1 root root 30 11. Feb 2015  /etc/alternatives/jre_1.8.0 -> /usr/lib/jvm/jre-1.8.0-openjdk
    lrwxrwxrwx 1 root root 38 11. Feb 2015  /etc/alternatives/jre_1.8.0_exports -> /usr/lib/jvm-exports/jre-1.8.0-openjdk
    lrwxrwxrwx 1 root root 30 27. Jul 17:38 /etc/alternatives/jre_openjdk -> /usr/lib/jvm/jre-1.8.0-openjdk
    lrwxrwxrwx 1 root root 38 27. Jul 17:38 /etc/alternatives/jre_openjdk_exports -> /usr/lib/jvm-exports/jre-1.8.0-openjdk
    hofkirchen:/home/karl/Downloads # 
    
    It's entiry up to you on which version the "java" command points to, jAlbum will always use Oracle Java SE 8u66.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums