Package: mediathekview
Version: 13.0.6-1
Severity: serious

Dear Maintainer,

when trying to start mediathekview, I get the following:
,----
| $ mediathekview 
| ===========================================
| JavaFX wurde nicht im klassenpfad gefunden. 
|  Stellen Sie sicher, dass Sie ein Java JRE ab Version 8 benutzen. 
|  Falls Sie Linux nutzen, installieren Sie das openjfx-Paket ihres 
Package-Managers,
|  oder nutzen Sie eine eigene JRE-Installation.
| ===========================================
`----

(Translated into English: JavaFX was not found in the classpah. Ensure
that you are using JRE 8 or later. If you use Linux, install the openjfx
package provided by your pacakge manager or use a seaparate JRE
installation.)

As you can see below, libopenjfx-java is installed.

This is the version that is apparently selected by java_wrappers:
,----
| $ bash
| $ . /usr/lib/java-wrappers/java-wrappers.sh
| $ find_java_runtime java8
| $ run_java --version
| openjdk 10.0.2 2018-07-17
| OpenJDK Runtime Environment (build 10.0.2+13-Debian-1)
| OpenJDK 64-Bit Server VM (build 10.0.2+13-Debian-1, mixed mode)
`----

Let's see... Selecting different JREs does not help:
,----
| $ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64/ mediathekview 
| ===========================================
| JavaFX wurde nicht im klassenpfad gefunden. 
|  Stellen Sie sicher, dass Sie ein Java JRE ab Version 8 benutzen. 
|  Falls Sie Linux nutzen, installieren Sie das openjfx-Paket ihres 
Package-Managers,
|  oder nutzen Sie eine eigene JRE-Installation.
| ===========================================
`----
,----
| $ JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/ mediathekview
| ===========================================
| JavaFX wurde nicht im klassenpfad gefunden. 
|  Stellen Sie sicher, dass Sie ein Java JRE ab Version 8 benutzen. 
|  Falls Sie Linux nutzen, installieren Sie das openjfx-Paket ihres 
Package-Managers,
|  oder nutzen Sie eine eigene JRE-Installation.
| ===========================================
`----

Unfortunately, the error message is made deliberately useless by hiding the
ClassNotFoundException:
,----[ mediathekview-13.0.6/src/main/java/mediathek/Main.java ]
| private static boolean hasJavaFx() {
|     try {
|         Class.forName(JAVAFX_CLASSNAME_APPLICATION_PLATFORM);
|         return true;
| 
|     } catch (ClassNotFoundException e) {
|         System.out.println(TEXT_LINE);
|         System.out.printf(Messages.ERROR_NO_JAVAFX_INSTALLED.getText());
|         System.out.println(TEXT_LINE);
| 
|         return false;
|     }
| }
`----

I am not even able to rebuild the package with the try/catch nonsense
removed, so I am giving up here for the moment.

Cheers,
-Hilko

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages mediathekview depends on:
ii  default-jre [java8-runtime]     2:1.10-68
ii  java-wrappers                   0.3
ii  libcommons-compress-java        1.18-1
ii  libcommons-lang3-java           3.8-1
ii  libjackson2-core-java           2.9.4-1
ii  libjchart2d-java                3.2.2+dfsg2-2
ii  libjgoodies-forms-java          1.9.0-3
ii  libjide-oss-java                3.7.4+dfsg-1
ii  libmac-widgets-java             0.10.0+svn416-dfsg1-2
ii  libokhttp-java                  3.11.0-1
ii  libopenjfx-java                 11+26-1
ii  libswingx-java                  1:1.6.2-3
ii  libtimingframework-java         1.0-1
ii  libxz-java                      1.8-2
ii  openjdk-10-jre [java8-runtime]  10.0.2+13-1
ii  openjdk-8-jre [java8-runtime]   8u181-b13-1

Versions of packages mediathekview recommends:
ii  flvstreamer  2.1c1-1+b2
ii  mplayer      2:1.3.0-8+b4
ii  vlc          3.0.4-2+b1

Versions of packages mediathekview suggests:
ii  ffmpeg  7:4.0.2-2+b1

-- no debconf information

Reply via email to