disco: sweethome3d cannot start because /usr/share/icedtea-web/netx.jar is missing

Bug #1820496 reported by Matthieu Baerts
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sweethome3d (Ubuntu)
New
Undecided
Unassigned
sweethome3d-furniture-editor (Ubuntu)
New
Undecided
Unassigned
sweethome3d-textures-editor (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello,

First, thank you for maintaining this SweetHome3D packages!

With the latest version -- sweethome3d-6.1.2+dfsg -- the program doesn't want to start:

  [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

It seems that with this new version [1], icedtea-netx is required instead of icedtea-netx-common. The first one does not contain any .jar file [2]. netx.jar was previously in icedtea-netx-common [3].

I think the problem is more in icedtea package but because it directly affects sweethome3d after the last update, I am reporting it here first.

Thank you for your support!

[1] https://launchpadlibrarian.net/415155485/sweethome3d_6.1.2+dfsg-1_6.1.2+dfsg-1ubuntu1.diff.gz
[2] https://packages.ubuntu.com/disco/amd64/icedtea-netx/filelist
[3] https://packages.ubuntu.com/cosmic/all/icedtea-netx-common/filelist

Tags: patch
Revision history for this message
Matthieu Baerts (matttbe) wrote :

Just added Matthias in cc as he did the update and might know what's wrong :)

Revision history for this message
Matthieu Baerts (matttbe) wrote :

It seems that netx.jar is no longer produced and /usr/share/icedtea-web/javaws.jar can be used instead. So here is a patch to replace netx.jar by javaws.jar.

Revision history for this message
Matthieu Baerts (matttbe) wrote :

The same patch, with a ref to this ticket.

tags: added: patch
Revision history for this message
Matthieu Baerts (matttbe) wrote :

The same fix for sweethome3d-textures-editor

Revision history for this message
Matthieu Baerts (matttbe) wrote :

The same fix for sweethome3d-furniture-editor

Revision history for this message
Matthieu Baerts (matttbe) wrote :

The same fix for sweethome3d-textures-editor and a ref to this ticket.

Revision history for this message
Matthieu Baerts (matttbe) wrote :

I also confirm that this kind of fix in icedtea-netx fixes the issue:

  - Provide a compatibility symlink netx.jar -> javaws.jar.

Thank you Matthias for the quick fix. I don't know if we still need these fixes. Maybe cleaner to apply them?

Revision history for this message
Matthias Klose (doko) wrote :

yes, in the long term that should be fixed in these packages itself

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.