Print at Dec 19, 2025, 3:25:21 AM
Posted by bertaudmarc at May 9, 2015, 1:03:02 PM
sweethome3d-4.6-linux-x64.tgz
I started with ./SweetHome3d, the splash screen is displayed and the application hang:
Java 3D: implicit antialiasing enabled
java.lang.RuntimeException: cannot load system cursor: CopyDrop.32x32
at sun.awt.X11.XToolkit.lazilyLoadDesktopProperty(Unknown Source)



Caused by: java.lang.RuntimeException: failed to load system cursor: DnD.Cursor.CopyDrop : cannot load system cursor: CopyDrop.32x32
at java.awt.dnd.DragSource.load(Unknown Source)



Posted by bertaudmarc at May 10, 2015, 1:51:39 PM
Re: sweethome3d-4.6-linux-x64.tgz
I tried to add the following option:
-Dcom.eteks.sweethome3d.no3D=true

but no effect.

Posted by Puybaret at May 10, 2015, 2:25:28 PM
Re: sweethome3d-4.6-linux-x64.tgz
The option you tried disables the 3D view, but the error you've got isn't bound to any 3D feature. I think the file you downloaded is buggy? Did you try to download Sweet Home 3D again?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by bertaudmarc at May 12, 2015, 4:36:56 PM
Re: sweethome3d-4.6-linux-x64.tgz
I tried the 2D version according to the FAQ suggestion !
I think the error is bound to java

Posted by bertaudmarc at May 12, 2015, 4:40:12 PM
Re: sweethome3d-4.6-linux-x64.tgz
Could you suggest me a reliable link to download sweethome3d-4.6-linux-x64.tgz !

Posted by Puybaret at May 12, 2015, 5:07:30 PM
Re: sweethome3d-4.6-linux-x64.tgz
Use the links in Download page.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by bertaudmarc at May 13, 2015, 12:20:20 AM
Re: sweethome3d-4.6-linux-x64.tgz
That was my source !
I downloaded again, uncompressed in another folder, executed it but always the same error.
Problem of graphic driver ? (mga200 is very old ...)

Posted by Puybaret at May 13, 2015, 2:29:17 PM
Re: sweethome3d-4.6-linux-x64.tgz
Try to search your error in Google. You might have interesting answers like this one.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by bertaudmarc at May 14, 2015, 1:45:02 PM
Re: sweethome3d-4.6-linux-x64.tgz
I solved the problem like this:
I modified the mgag200 option to 0 in the modesetting.conf file !
But I lost high resolution of my screen ...
Many thanks to Emmanuel.

Posted by Puybaret at May 14, 2015, 7:59:31 PM
Re: sweethome3d-4.6-linux-x64.tgz
Thanks for your feedback.
In the future version of Sweet Home 3D, there are some chances that under Linux and Windows, there will be an update of the version of Java3D, the library used for the 3D view. Please, try again once it will be released to see if it works better.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by tylla at Nov 18, 2017, 10:48:06 AM
Re: sweethome3d-4.6-linux-x64.tgz
Sorry for resurrecting such old thread, but as I was greeted with this same error when installing the recent (5.6) version on Debian Stretch (9.2) I thought I give a try to find some solution.

While the suggested workaround (nomodeset) might work for some, I have found another solution which might be better suited.
The last solution to this SO question (which seems the same problem) suggests a workaround in code that consists of a few lines of code.

Maybe you could give it a try.

I am willing to help in testing if needed.

Posted by tylla at Dec 26, 2017, 1:20:46 AM
Re: sweethome3d-4.6-linux-x64.tgz
As it turned out the suggested workaround (nomodeset) causes several unwanted behaviors on my Lenovo X201 so I had to disable it.
After several hours of trials, I found out the solution to this problem.
The root of the problem (according to my best understanding) is a bug in Java (see https://bugs.openjdk.java.net/browse/JDK-8173853).
This has been fixed in Java 8u152 and 9 (see https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1232471).
So the solution is to update your Java.

In my setup this involved a little bit of extra work as I don't like to litter my hard drive with installed programs that the package manager is unaware of, but finally it is working.