Discussion:
Bug#932604: sweethome3d: Unable to locate /usr/share/icedtea-web/netx.jar in /usr/share/java
(too old to reply)
Adrien CLERC
2019-07-21 07:40:01 UTC
Permalink
Package: sweethome3d
Version: 6.2+dfsg-1
Severity: important

Dear Maintainer,
env LANG=C sweethome3d
[warning] /usr/bin/sweethome3d: Unable to locate /usr/share/icedtea-
web/netx.jar in /usr/share/java
Error: Unable to initialize main class com.eteks.sweethome3d.SweetHome3D
Caused by: java.lang.NoClassDefFoundError:
javax/jnlp/UnavailableServiceException

And the application stops.



-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1,
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8),
LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages sweethome3d depends on:
ii  default-jre [java8-runtime]     2:1.11-72
ii  icedtea-netx                    1.8.2-1
ii  java-wrappers                   0.3
ii  libbatik-java                   1.10-2
ii  libfreehep-graphicsio-svg-java  2.1.1-5
ii  libitext-java                   2.1.7-12
ii  libjava3d-java                  1.5.2+dfsg-16
ii  libsunflow-java                 0.07.2.svn396+dfsg-17
ii  openjdk-11-jre [java8-runtime]  11.0.4+11-1

Versions of packages sweethome3d recommends:
ii  sweethome3d-furniture  1.6.4-1

sweethome3d suggests no packages.

-- no debconf information
Adrien CLERC
2019-07-21 20:30:02 UTC
Permalink
It seems the netx.jar was removed in the latest version of icedtea-netx
in unstable. The version in testing still works. Could you try the
following and report back if it works for you?
Edit /usr/bin/sweethome3d and replace the line
find_jars /usr/share/icedtea-web/netx.jar
with
find_jars /usr/share/icedtea-web/javaws.jar
Does the game start again?
Yes, it works without any warning nor error.

Thanks for that.

Adrien
Emmanuel Bourg
2019-07-21 22:00:01 UTC
Permalink
Control: reassign -1 icedtea-netx
Control: retitle -1 /usr/share/icedtea-web/netx.jar is missing
Post by Adrien CLERC
Yes, it works without any warning nor error.
Thank you for confirming Adrien. I'm going to fix icedtea-netx.

Emmanuel Bourg

Loading...