Code: Select all
"C:\Program files\SweetHome3D\jre8\bin\javaw.exe" -jar [i]path\to[/i]\FurnitureLibraryEditor-1.19.jarCode: Select all
"C:\Program files\SweetHome3D\jre8\bin\javaw.exe" -jar [i]path\to[/i]\FurnitureLibraryEditor-1.19.jarI'm running xubuntu 16.04, with Java 8. I can't get the downloaded file to run by double clicking or with the command line, so I installed it through the software manager, and it's running great. However, I have searched everywhere and can't find the Furniture.jre file to delete.I should deliver the default catalog as a SH3F file too. [:)]
At the moment, you can quite easily get rid of the default furniture catalog of Sweet Home 3D, by following these steps:
- Ensure you installed Sweet Home 3D from its installer (not with Java Web Start).
- Remove the file named Furniture.jar from Sweet Home 3D installed files. Under Windows and Linux, this file can be found in the lib subdirectory of Sweet Home 3D installation directory
Code: Select all
#!/bin/sh
# Retrieve Sweet Home 3D directory
PROGRAM=`readlink "$0"`
if [ "$PROGRAM" = "" ];then PROGRAM=$0
fi PROGRAM_DIR=`dirname "$PROGRAM"`
# Run Sweet Home 3D exec
exec "$PROGRAM_DIR"/jre8/bin/java -Xmx1024m -classpath "$PROGRAM_DIR"/lib/FurnitureLibraryEditor-1.20.jar:"$PROGRAM_DIR"/lib/Furniture.jar:"$PROGRAM_DIR"/lib/Textures.jar:"$PROGRAM_DIR"/lib/Help.jar:"$PROGRAM_DIR"/lib/iText-2.1.7.jar:"$PROGRAM_DIR"/lib/freehep-vectorgraphics-svg-2.1.1b.jar:"$PROGRAM_DIR"/lib/sunflow-0.07.3i.jar:"$PROGRAM_DIR"/lib/jmf.jar:"$PROGRAM_DIR"/lib/batik-svgpathparser-1.7.jar:"$PROGRAM_DIR"/lib/j3dcore.jar:"$PROGRAM_DIR"/lib/j3dutils.jar:"$PROGRAM_DIR"/lib/vecmath.jar:"$PROGRAM_DIR"/jre8/lib/javaws.jar -Djava.library.path="$PROGRAM_DIR"/lib com.eteks.furniturelibraryeditor.FurnitureLibraryEditor -open "$1"Code: Select all
com.eteks.sweethome3d.model.RecorderException: Invalid furniture library file
at com.eteks.furniturelibraryeditor.io.FurnitureLibraryFileRecorder.readFurnitureLibrary(Unknown Source)
at com.eteks.furniturelibraryeditor.io.FurnitureLibraryFileRecorder.readFurnitureLibrary(Unknown Source)
at com.eteks.furniturelibraryeditor.viewcontroller.EditorController$3.call(Unknown Source)
at com.eteks.furniturelibraryeditor.viewcontroller.EditorController$3.call(Unknown Source)
at java.util.concurrent.FutureTask.run(FutureTask.java:266) at com.eteks.sweethome3d.viewcontroller.ThreadedTaskController$1.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Can't copy file to /tmp/furniture3331676379223917287.sh3f
at com.eteks.furniturelibraryeditor.io.FurnitureLibraryFileRecorder.copyFile(Unknown Source) ... 11 moreUsers browsing this forum: No registered users and 1 guest