sad Sw 3D in Linux

This topic has been viewed 603554 times and has 20 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
pmralbuquerque
Posts: 9
Joined: Thu Jan 23, 2014 9:20 pm
Country: Portugal

Sw 3D in Linux

Post by pmralbuquerque »

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. [:(] The downloaded version is Linux 64 bits.
Thank you.
User avatar
hansmex
Posts: 4027
Joined: Sat Sep 26, 2009 11:36 am
Country: Netherlands

Re: Sw 3D in Linux

Post by hansmex »

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

Re: Sw 3D in Linux

Post by Puybaret »

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
pmralbuquerque
Posts: 9
Joined: Thu Jan 23, 2014 9:20 pm
Country: Portugal

Re: Sw 3D in Linux

Post by pmralbuquerque »

Hi,
thank you for your answers Hansmex and Emmanuel, but I still haven't got it [:(] .
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 [:-/] .
Maybe there is something else I should do? Thank you again.
Regards.
Yuri_fromBY
Posts: 64
Joined: Fri Jan 22, 2010 7:00 pm
Country: Belarus

Re: Sw 3D in Linux

Post by Yuri_fromBY »

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

Re: Sw 3D in Linux

Post by Puybaret »

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
Yuri_fromBY
Posts: 64
Joined: Fri Jan 22, 2010 7:00 pm
Country: Belarus

Re: Sw 3D in Linux

Post by Yuri_fromBY »

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

Re: Sw 3D in Linux

Post by Puybaret »

Maybe the answer to a similar problem will help you...
Emmanuel Puybaret, Sweet Home 3D creator
Yuri_fromBY
Posts: 64
Joined: Fri Jan 22, 2010 7:00 pm
Country: Belarus

Re: Sw 3D in Linux

Post by Yuri_fromBY »

Emmanuel, thank you a lot!
"sudo apt-get install libxtst6:i386" - it helped.
amyelizabeth
Posts: 7
Joined: Thu Mar 06, 2014 10:03 pm

Re: Sw 3D in Linux

Post by amyelizabeth »

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? [:((]

Any help is greatly appreciated!

Thank you
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 3 guests