Print at Dec 20, 2025, 6:38:10 PM
Posts: 20   Pages: 2   [ Previous Page | 1 2 ]
View all posts in this thread on one page
Posted by Puybaret at Nov 20, 2015, 8:38:28 PM
Re: Crash on clicking preferences
Ok, then what did you mean by "it doesn't work"?
I also wonder if the -D... option should rather be placed before -jar option. Can you try?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by goetz at Nov 21, 2015, 3:42:59 PM
Re: Crash on clicking preferences
This is odd, it did only show the splash screen. Today that command starts the whole application but crashed when opening Preferences.

Changing the arguments order as you said, makes Preferences work, thanks!

java -Dcom.eteks.sweethome3d.j3d.checkOffScreenSupport=false -jar /usr/share/java/sweethome3d.jar


Posted by wood at Jan 4, 2016, 2:32:54 PM
Re: Crash on clicking preferences
Hi,
same problem (crash on preferences) on Linux Debian (BunsenLab). Sorry but I did not understand how did you solved, I installed the Debian package and then I tried the version on SourgeForge.
The fact is that Java is out of my knowledge and probably is just me that do not understand what you are talkking about.

Posted by goetz at Jan 7, 2016, 12:11:04 AM
Re: Crash on clicking preferences
Just go to the download page http://www.sweethome3d.com/download.jsp download the Web Starter http://www.sweethome3d.com/SweetHome3D.jnlp and open it with javaws

Posted by Puybaret at Jan 7, 2016, 8:14:49 AM
Re: Crash on clicking preferences
goetz, the JNLP file you referenced won't solve wood's problem.
It should rather be http://www.sweethome3d.com/SweetHome3D-NoOffscreen.jnlp
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by wood at Jan 9, 2016, 3:23:42 PM
Re: Crash on clicking preferences
Thanks for replay. I am not using Sweet Home 3D with Java Web Start (do not have Java 6 installed, should I?). So I guess goetz answer did not fit my problem. And the file indicated by Puybaret is a .jnlp, so (for what I understood) is suppose to be used by a Java Web Starter (same story I guess).

Posted by goetz at Jan 9, 2016, 6:50:52 PM
Re: Crash on clicking preferences
Puybaret, you are right!

wood, just add the checkOffScreenSupport option when invoking sweethome3d. Your path may defer. dpkg -L sweethome3d will show you where the sweethome3d.jar file is. It maybe:


java -Dcom.eteks.sweethome3d.j3d.checkOffScreenSupport=false -jar /usr/share/sweethome3d/sweethome3d.jar


Posted by Puybaret at Jan 9, 2016, 7:15:44 PM
Re: Crash on clicking preferences
wood, the only other solution is to add the option:
-Dcom.eteks.sweethome3d.j3d.checkOffScreenSupport=false
after the word "java" in the SweetHome3D script available in the downloadable installer.

Then, the last line of the script
exec "$PROGRAM_DIR"/jre1.6.0_45/bin/java -Xmx1024m ...
should become:
exec "$PROGRAM_DIR"/jre1.6.0_45/bin/java -Dcom.eteks.sweethome3d.j3d.checkOffScreenSupport=false -Xmx1024m ...
(be sure to add no line returns)
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by wood at Jan 12, 2016, 9:09:42 PM
Re: Crash on clicking preferences
Thanks again. It works (of course) now. Sorry if I was a little slow understending.

Posted by bert.struik at Jan 21, 2016, 5:14:31 AM
Re: Crash on clicking preferences
Had this problem with version 5.1 on Ubuntu 14.04. Used the suggested java fix line from the FAQ. Then I could change preferences. A side effect was that I could not longer delete walls. Removed the java line and then I could delete a wall again.

Posts: 20   Pages: 2   [ Previous Page | 1 2 ]