Bug#968001: tightvnc-java: Invalid module description, or, may java module be mixed with other JARs in /usr/share/java?

2020-10-13 Thread Sven Geuer
Hi Giuseppe,

thank you for testing and giving your prompt reply.

I saw the same problem with jurt.jar like you now encountered with
jdom1.jar. I am afraid you have to open a bug against the appropriate
package.

Regarding tighvnc-java, it still will take me some time to get the new
package version ready for release. I hope it will not stretch your
patience to much.

Sven

Am Dienstag, den 13.10.2020, 08:09 +0200 schrieb Giuseppe Sacco:
> Hello Sven,
> 
> Il giorno lun, 12/10/2020 alle 23.09 +0200, Sven Geuer ha scritto:
> > Hello Guiseppe,
> > 
> > I believe I solved the issue. I'll send you another unreleased
> > version
> > of tighvnc-java in a separate email for you to test it.
> 
> Indeed the problem seems to be solved, in fact, now a different
> problem appears on a package :-)
> 
> $ java --module-path /usr/share/java \
>   --add-modules javafx.controls \
>   -Djavafx.preloader=lu.nowina.nexu.NexUPreLoader \
>   -Dglass.accessible.force=false -jar Neos.jar
> Error occurred during initialization of boot layer
> java.lang.module.FindException: Two versions of module jdom1 found in
> /usr/share/java (jdom1-1.1.3.jar and jdom1.jar)
> 
> $ ls -l /usr/share/java/jdom*
> -rw-r--r-- 1 root root 156912  2 nov  2018 /usr/share/java/jdom1-
> 1.1.3.jar
> lrwxrwxrwx 1 root root 15  2 nov  2018 /usr/share/java/jdom1.jar
> -> jdom1-1.1.3.jar
> 
> Thanks,
> Giuseppe


signature.asc
Description: This is a digitally signed message part


Bug#968001: tightvnc-java: Invalid module description, or, may java module be mixed with other JARs in /usr/share/java?

2020-10-13 Thread Giuseppe Sacco
Hello Sven,

Il giorno lun, 12/10/2020 alle 23.09 +0200, Sven Geuer ha scritto:
> Hello Guiseppe,
> 
> I believe I solved the issue. I'll send you another unreleased version
> of tighvnc-java in a separate email for you to test it.

Indeed the problem seems to be solved, in fact, now a different
problem appears on a package :-)

$ java --module-path /usr/share/java \
  --add-modules javafx.controls \
  -Djavafx.preloader=lu.nowina.nexu.NexUPreLoader \
  -Dglass.accessible.force=false -jar Neos.jar
Error occurred during initialization of boot layer
java.lang.module.FindException: Two versions of module jdom1 found in 
/usr/share/java (jdom1-1.1.3.jar and jdom1.jar)

$ ls -l /usr/share/java/jdom*
-rw-r--r-- 1 root root 156912  2 nov  2018 /usr/share/java/jdom1-1.1.3.jar
lrwxrwxrwx 1 root root 15  2 nov  2018 /usr/share/java/jdom1.jar -> 
jdom1-1.1.3.jar

Thanks,
Giuseppe


signature.asc
Description: This is a digitally signed message part


Bug#968001: tightvnc-java: Invalid module description, or, may java module be mixed with other JARs in /usr/share/java?

2020-10-12 Thread Sven Geuer
Hello Guiseppe,

I believe I solved the issue. I'll send you another unreleased version
of tighvnc-java in a separate email for you to test it.

Sven

Am Mittwoch, den 07.10.2020, 07:52 +0200 schrieb Giuseppe Sacco:
> Hello Sven,
> 
> Il giorno sab, 03/10/2020 alle 18.39 +0200, Sven Geuer ha scritto:
> > Hello Guiseppe,
> [...]
> > As I don't possess any specific java knowledge I cannot judge
> > whether
> > this will fix the issue you reported. I will send you the deb file
> > attached to a separate email and would like to ask you to test
> > whether
> > it fixes this bug for you. If it doesn't, I am afraid there is
> > little
> > what can be done, as upstream is dead.
> 
> them problem is still there. I'll try to get some more help from
> other
> java developers and, possibly, I'll gather a patch.
> 
> The current error is similar to the original one:
> 
> $ java --module-path /usr/share/java   \
>   --add-modules javafx.controls \
>   -Djavafx.preloader=lu.nowina.nexu.NexUPreLoader \
>   -Dglass.accessible.force=false -jar Neos.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:
> CapsContainer.class found in top-level directory (unnamed package not
> allowed in module)
> 
> Thank you,
> Giuseppe
> 
> 


signature.asc
Description: This is a digitally signed message part


Bug#968001: tightvnc-java: Invalid module description, or, may java module be mixed with other JARs in /usr/share/java?

2020-10-07 Thread Giuseppe Sacco
Hello Sven,

Il giorno sab, 03/10/2020 alle 18.39 +0200, Sven Geuer ha scritto:
> Hello Guiseppe,
[...]
> As I don't possess any specific java knowledge I cannot judge whether
> this will fix the issue you reported. I will send you the deb file
> attached to a separate email and would like to ask you to test whether
> it fixes this bug for you. If it doesn't, I am afraid there is little
> what can be done, as upstream is dead.

them problem is still there. I'll try to get some more help from other
java developers and, possibly, I'll gather a patch.

The current error is similar to the original one:

$ java --module-path /usr/share/java   \
  --add-modules javafx.controls \
  -Djavafx.preloader=lu.nowina.nexu.NexUPreLoader \
  -Dglass.accessible.force=false -jar Neos.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:
CapsContainer.class found in top-level directory (unnamed package not
allowed in module)

Thank you,
Giuseppe



Bug#968001: tightvnc-java: Invalid module description, or, may java module be mixed with other JARs in /usr/share/java?

2020-10-03 Thread Sven Geuer
Hello Guiseppe,

I am currently adopting the package and have a working unreleased
version of tightvnc-jave available, which was built applying openjdk-
11.

As I don't possess any specific java knowledge I cannot judge whether
this will fix the issue you reported. I will send you the deb file
attached to a separate email and would like to ask you to test whether
it fixes this bug for you. If it doesn't, I am afraid there is little
what can be done, as upstream is dead.

Regards,
Sven


signature.asc
Description: This is a digitally signed message part


Bug#968001: tightvnc-java: Invalid module description, or, may java module be mixed with other JARs in /usr/share/java?

2020-08-06 Thread Giuseppe Sacco
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