Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 20
Posts: 20   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 11713 times and has 19 replies Next Thread
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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
[Nov 20, 2015, 8:38:28 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
goetz
Newbie




Joined: Nov 19, 2015
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
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

[Nov 21, 2015, 3:42:59 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
wood
Newbie




Joined: Jan 4, 2016
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Jan 4, 2016, 2:32:54 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
goetz
Newbie




Joined: Nov 19, 2015
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jan 7, 2016, 12:11:04 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jan 7, 2016, 8:14:49 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
wood
Newbie




Joined: Jan 4, 2016
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
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).
[Jan 9, 2016, 3:23:42 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
goetz
Newbie




Joined: Nov 19, 2015
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
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

[Jan 9, 2016, 6:50:52 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jan 9, 2016, 7:15:44 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
wood
Newbie




Joined: Jan 4, 2016
Post Count: 3
Status: Offline
Reply to this Post  Reply with Quote 
Re: Crash on clicking preferences

Thanks again. It works (of course) now. Sorry if I was a little slow understending.
[Jan 12, 2016, 9:09:42 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
bert.struik
Member
Member's Avatar

Canada
Joined: Apr 24, 2015
Post Count: 30
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Jan 21, 2016, 5:14:31 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 20   Pages: 2   [ Previous Page | 1 2 ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved