Crash on clicking preferences

This topic has been viewed 12284 times and has 19 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Crash on clicking preferences

Post by Puybaret »

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
goetz
Posts: 6
Joined: Thu Nov 19, 2015 12:46 am

Re: Crash on clicking preferences

Post by goetz »

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!

Code: Select all

java -Dcom.eteks.sweethome3d.j3d.checkOffScreenSupport=false -jar /usr/share/java/sweethome3d.jar
wood
Posts: 3
Joined: Mon Jan 04, 2016 12:21 pm

Re: Crash on clicking preferences

Post by wood »

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.
goetz
Posts: 6
Joined: Thu Nov 19, 2015 12:46 am

Re: Crash on clicking preferences

Post by goetz »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Crash on clicking preferences

Post by Puybaret »

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
wood
Posts: 3
Joined: Mon Jan 04, 2016 12:21 pm

Re: Crash on clicking preferences

Post by wood »

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).
goetz
Posts: 6
Joined: Thu Nov 19, 2015 12:46 am

Re: Crash on clicking preferences

Post by goetz »

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:

Code: Select all

java -Dcom.eteks.sweethome3d.j3d.checkOffScreenSupport=false -jar /usr/share/sweethome3d/sweethome3d.jar
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Crash on clicking preferences

Post by Puybaret »

wood, the only other solution is to add the option:

Code: Select all

-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

Code: Select all

exec "$PROGRAM_DIR"/jre1.6.0_45/bin/java -Xmx1024m ...
should become:

Code: Select all

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
wood
Posts: 3
Joined: Mon Jan 04, 2016 12:21 pm

Re: Crash on clicking preferences

Post by wood »

Thanks again. It works (of course) now. Sorry if I was a little slow understending.
User avatar
bert.struik
Posts: 32
Joined: Fri Apr 24, 2015 7:51 pm
Country: Vancouver, Canada

Re: Crash on clicking preferences

Post by bert.struik »

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.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests