|
Sweet Home 3D Forum » List all forums » » Forum: Installation » » » Thread: SH3S installation as described for linux in website doesn't work » » » » Post: Re: SH3S installation as described for linux in website doesn't work |
Print at Dec 21, 2025, 10:29:48 PM |
| Posted by DerekvG at Jan 31, 2020, 11:02:03 AM |
|
Re: SH3S installation as described for linux in website doesn't work There are no symptoms , or at least the absence of any symptoms/response or error message IS the only symptom. First i moved the uncompressed files to a directory (as per installation instruction) such as /SH3D/ Then using Nautilus I make sure SweetHome3D is executable and I change the default to action to "Run Software" instead of "open with Gedit" When I click it the running icon starts spinning and nothing happens This is the content of the script that DOESN'T run for version 5.4 (but it's the same for 6.2) #!/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 "$PROGRAM_DIR"/jre8/bin/java -Xmx1024m -classpath "$PROGRAM_DIR"/lib/SweetHome3D.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/java3d-1.6/j3dcore.jar:"$PROGRAM_DIR"/lib/java3d-1.6/j3dutils.jar:"$PROGRAM_DIR"/lib/java3d-1.6/vecmath.jar:"$PROGRAM_DIR"/lib/java3d-1.6/gluegen-rt.jar:"$PROGRAM_DIR"/lib/java3d-1.6/jogl-java3d.jar:"$PROGRAM_DIR"/jre8/lib/javaws.jar -Djava.library.path="$PROGRAM_DIR"/lib/java3d-1.6 -Djogamp.gluegen.UseTempJarCache=false -Dcom.eteks.sweethome3d.applicationId=SweetHome3D#Installer com.eteks.sweethome3d.SweetHome3D -open "$1" by comparison this is the sweethome3d.sh file from the installed version 4.5 that i found in /usr/share/sweethome3d #!/bin/sh # # BASEPATH=/usr/share/sweethome3d JAVA_ARGS="-Djava.library.path=/usr/lib/jni \ -Dcom.eteks.sweethome3d.applicationFolders=$HOME/.eteks/sweethome3d:/usr/share/sweethome3d" . /usr/lib/java-wrappers/java-wrappers.sh find_java_runtime java6 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 "$@" |
|
|
Current timezone is GMT Dec 21, 2025, 10:29:48 PM |