Package: sweethome3d
Version: 6.4.2+dfsg-1

When export to SVG:

Java 3D: implicit antialiasing enabled
java.lang.NoClassDefFoundError: org/freehep/graphicsbase/util/UserProperties
        at com.eteks.sweethome3d.swing.PlanComponent.exportToSVG(Unknown Source)
        at com.eteks.sweethome3d.swing.PlanComponent.exportData(Unknown Source)
        at 
com.eteks.sweethome3d.swing.MultipleLevelsPlanPanel.exportData(Unknown Source)
        at com.eteks.sweethome3d.swing.HomePane.exportToSVG(Unknown Source)
        at com.eteks.sweethome3d.viewcontroller.HomeController$38.call(Unknown 
Source)
        at com.eteks.sweethome3d.viewcontroller.HomeController$38.call(Unknown 
Source)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown 
Source)
        at 
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.ClassNotFoundException: 
org.freehep.graphicsbase.util.UserProperties
        at 
java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at 
java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        ... 13 more

Solved: update version to 6.5

It's work!
$ sudo -i
# wget 
https://kumisystems.dl.sourceforge.net/project/sweethome3d/SweetHome3D/SweetHome3D-6.5/SweetHome3D-6.5-linux-x64.tgz
# tar zxvf SweetHome3D-6.5-linux-x64.tgz
# cp -R /root/SweetHome3D-6.5/lib /usr/share/sweethome3d/
# echo '#!/bin/sh

BASEPATH=/usr/share/sweethome3d
JAVA_ARGS="-Djava.library.path=/usr/lib/jni \
 
-Dcom.eteks.sweethome3d.applicationFolders=$HOME/.eteks/sweethome3d:/usr/share/sweethome3d
 \
 -Dcom.eteks.sweethome3d.j3d.checkOffScreenSupport=false \
 -Dsun.java2d.opengl=true"

. /usr/lib/java-wrappers/java-wrappers.sh

find_java_runtime java7

# add new version
find_jars /usr/share/sweethome3d/lib/*

find_jars j3dcore j3dutils vecmath batik
find_jars sunflow itext janino freehep-util freehep-io freehep-xml
find_jars freehep-graphics2d freehep-graphicsio freehep-graphicsio-svg
find_jars /usr/share/sweethome3d/sweethome3d.jar
find_jars /usr/share/icedtea-web/netx.jar

cd $BASEPATH
run_java com.eteks.sweethome3d.SweetHome3D -open "$@"' > 
/usr/share/sweethome3d/sweethome3d.sh

Reply via email to