Portugal
Joined: Jan 23, 2014
Post Count: 9
Status:
Offline
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. The downloaded version is Linux 64 bits. Thank you.
Netherlands
Joined: Sep 26, 2009
Post Count: 4002
Status:
Offline
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
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
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
Belarus
Joined: Jan 22, 2010
Post Count: 62
Status:
Offline
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 "
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
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
Belarus
Joined: Jan 22, 2010
Post Count: 62
Status:
Offline
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:~$
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?