Print at Dec 20, 2025, 12:48:02 PM
Posted by pmralbuquerque at Jun 15, 2014, 1:00:33 PM
sad   Sw 3D in Linux
Hi,
I'm trying to install v4.4 in Linux Lite. After extracting the files, I find a file named 'SweetHome3d' with a command line symbol. If I read well the instructions on the site page, executing this file should install SW3D. But nothing happens.
What am I doing wrong, please?
I must say that I am an absolutely new user of Linux and know very very very little about this OS. sad The downloaded version is Linux 64 bits.
Thank you.

Posted by hansmex at Jun 15, 2014, 1:51:21 PM
Re: Sw 3D in Linux
You don't have to install SH3D.

1 - Unzip the file you downloaded.
2 - Right-click the SH-script (881 bytes)
3 - Choose Properties
4 - Under Permissions check the box before Allow execution as program
5 - Under Open with verify that the program uses Oracle Java 7 Runtime
6 - If necessary, uninstall all Java versions and install Oracle Java 7.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Puybaret at Jun 15, 2014, 2:08:20 PM
Re: Sw 3D in Linux
You don't need to install Oracle Java with the installer version proposed on sweethome3d.com and SourceForge.net. Just double-click on the SweetHome3D file and it will run the program itself since there's no real installer program.
When you double-click on SweetHome3D, the system might prompt you to Run the program in a terminal or not. If it fails, run it in a terminal, and report here the issue that may appear in the terminal.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by pmralbuquerque at Jun 16, 2014, 7:44:46 PM
Re: Sw 3D in Linux
Hi,
thank you for your answers Hansmex and Emmanuel, but I still haven't got it sad .
Let me try to explain better:
    first I download the file here ;

    second I extract the files, obtaining this folder;

    third I double click (or select run from the context menu) this file.

Then ... nothing happens confused .
Maybe there is something else I should do? Thank you again.
Regards.

Posted by Yuri_fromBY at Jun 16, 2014, 8:17:01 PM
Re: Sw 3D in Linux
Hi,
I have the same problem, but with the x86 version in Ubuntu 14.04.
"
minsk@minsk-G41MT-D3V:~$ java -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
minsk@minsk-G41MT-D3V:~$ javac -version
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
javac 1.7.0_60
"

Posted by Puybaret at Jun 16, 2014, 8:18:12 PM
Re: Sw 3D in Linux
That sounds correct.
Try to run it in a Terminal window to see if some errors appear:
- Open a Terminal
- Drag and drop the SweetHome3D icon in the Terminal to get its path easily
- Type <Enter> to run it
- Report here what the Terminal says.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Yuri_fromBY at Jun 16, 2014, 8:41:17 PM
Re: Sw 3D in Linux
minsk@minsk-G41MT-D3V:~$ '/home/minsk/SweetHome3D-4.4/SweetHome3D'
Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/minsk/SweetHome3D-4.4/jre1.6.0_45/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at sun.security.action.LoadLibraryAction.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.java2d.Disposer.<clinit>(Unknown Source)
at javax.imageio.stream.FileCacheImageInputStream.<init>(Unknown Source)
at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamInstance(Unknown Source)
at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at com.eteks.sweethome3d.swing.SwingTools.showSplashScreenWindow(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.init(Unknown Source)
at com.eteks.sweethome3d.SweetHome3D.main(Unknown Source)
minsk@minsk-G41MT-D3V:~$

Posted by Puybaret at Jun 17, 2014, 10:42:21 AM
Re: Sw 3D in Linux
Maybe the answer to a similar problem will help you...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Yuri_fromBY at Jun 17, 2014, 11:36:04 AM
Re: Sw 3D in Linux
Emmanuel, thank you a lot!
"sudo apt-get install libxtst6:i386" - it helped.

Posted by amyelizabeth at Jun 19, 2014, 2:43:54 AM
confused   Re: Sw 3D in Linux
Howdy,

Important info:

OS: Linux Trusty Tahr 14.04
Arch: 32bit

So I installed SW3D, or tried to. I extracted the files and when I click the app to run all the program does is open Gedit. I allowed the executing file as program, but it still won't work. I did move the file to a different location, Home file. Yet, the app still only opens in Gedit.

I have Java 6 and 7, I installed IcedTea. My OS has the latest version on libXtst.

I dragged and dropped the app into Terminal and it opens with the Terminal stating: Java 3D: implicit antialiasing enabled

However, I would like to run the app without having to route through Terminal. What am I doing wrong? crying

Any help is greatly appreciated!

Thank you

Posted by hansmex at Jun 19, 2014, 12:29:11 PM
Re: Sw 3D in Linux
Which of these steps is not clear???

You don't have to install SH3D.

1 - Unzip the file you downloaded.
2 - Right-click the SH-script (881 bytes)
3 - Choose Properties
4 - Under Permissions check the box before Allow execution as program
5 - Under Open with verify that the program uses Oracle Java 7 Runtime
6 - If necessary, uninstall all Java versions and install Oracle Java 7.

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by amyelizabeth at Jun 20, 2014, 11:20:15 AM
Re: Sw 3D in Linux
Thank you.

Posted by amyelizabeth at Jun 20, 2014, 11:38:15 AM
Re: Sw 3D in Linux
Okay, so I tried it again but I think the problem is with Java. I followed the steps exactly, but the program will not launch. I updated my drivers, but to no avail.

Posted by hansmex at Jun 20, 2014, 1:01:24 PM
Re: Sw 3D in Linux
Did you follow step 6 also??

H
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by amyelizabeth at Jun 20, 2014, 3:15:28 PM
Re: Sw 3D in Linux
Yes, but it still didn't work.
I updated my drivers and made sure that Java 7 was the only one installed. I went to the Java web site to test it and it does work, but it won't start the program.

So I reinstalled Ubuntu 14.04 and made sure that all Java and drivers were in proper working order, Terminal states that they're fine. But it still won't launch. Java launches other programs, but not SH3D 4.4.

SH3D version 4.3 works, but not 4.4.

Thank you for your help.

Posted by hansmex at Jun 20, 2014, 3:25:56 PM
Re: Sw 3D in Linux
Strange, Ubuntu 14.04 works fine for me, as did previous versions.
Over the years I have had some minor issues, but never something this big, as far as I remember.

Did you check the FAQ?
Maybe you have an "old" computer with a graphics card that is not compatible?

Hans
----------------------------------------
Hans

new website - under constuction
hansdirkse.info

Posted by Puybaret at Jun 20, 2014, 3:34:44 PM
Re: Sw 3D in Linux
If Sweet Home 3D 4.3 works, I don't think it could be a driver issue, and amyelizabeth's log doesn't seem to report any issue.
amyelizabeth, does the program crash or just hang?
Did you also try the Java Web Start link?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by amyelizabeth at Jun 20, 2014, 3:39:22 PM
Re: Sw 3D in Linux
I did check the FAQ and some one did have a similar problem, but under the .jar file.

I can launch and use the shell script by drag and dropping it into Terminal and receive full program capability. (Just don't run it as root, the interface changes.)

.jar file runs well too, but I wanted the installed version. My computer is from 2008 and I guess it's off to the store to see about updating my graphics card!

But I thank you for being responsive and very helpful! It is very much appreciated.

Amy Elizabeth

Posted by amyelizabeth at Jun 20, 2014, 3:46:27 PM
Re: Sw 3D in Linux
Hello,

The program does nothing. I click and it doesn't even give me a splash screen.

I did try the Java Web Start and I've tried the .jar, both work just fine.

As before, SH3D 4.3 works in normal application, but 4.4. only works when I drag and drop it into the Terminal. Also, Terminal only states that {Java 3D: implicit antialiasing enabled} and runs the program nothing more follows.

Thank you again for your help.

Amy Elizabeth

Posted by Puybaret at Jun 20, 2014, 4:30:20 PM
Re: Sw 3D in Linux
The [Java 3D: implicit antialiasing enabled] message shown in the Terminal is not an issue, and in a way, it's even helpful to guess in your case that Sweet Home 3D was launched (so the version of Java bundled with it can start).
And I don't see any reason why there should be a difference between running SweetHome3D script from the Terminal or directly by double-clicking on its icon.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by amyelizabeth at Jun 20, 2014, 4:49:46 PM
love struck   Re: Sw 3D in Linux
Thank you sir!

I was worried that running in terminal was somehow different.

Thank you to you and Hansmex for your assistance! I enjoy SH3D and appreciate all the hard work that has gone into it.

I hope to get better so that I may contribute to the forum as well. biggrin

Thank you!