Package: tightvnc-java
Version: 1.2.7-9
Severity: important

Dear Maintainer,
the package seems to be incorrect for recent JDKs.

Here is an example of running a different program that uses the new
modules architecture. While scanning the java directory I get this
error message, and my application is not run at all.

$ java --module-path /usr/share/java \
  --add-modules javafx.controls \
  -Djavafx.preloader=lu.nowina.nexu.NexUPreLoader \
  -Dglass.accessible.force=false -jar nexu.jar
Error occurred during initialization of boot layer
java.lang.module.FindException: Unable to derive module descriptor for
/usr/share/java/tightvncviewer.jar
Caused by: java.lang.module.InvalidModuleDescriptorException:
HTTPConnectSocketFactory.class found in top-level directory (unnamed
package not allowed in module)

in my tests, this happens with any java version since 11.

Bye,
Giuseppe

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

Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8),
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

tightvnc-java depends on no packages.

Versions of packages tightvnc-java recommends:
ii  bc  1.07.1-2+b2

Versions of packages tightvnc-java suggests:
ii  tightvncserver  1:1.3.9-10

Reply via email to