Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
Problem in Running SH3D
I am using Mac OS X (10.7 Lion) and I just download SH3D 3.3. I have read the README file of source code (of SH3D 3.3) and I am just following the instructions. After I "run configurations", I expected to have sweet home3d open. Instead, Eclipse Platform is opened. I also tried to "run java application" where SH3D is about to be opened but unfortunately without success. What am I doing wrong? Isn't it supposed to open SH3D without any problem?
Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
Re: Problem in Running SH3D
Well, I try to run java application with SweetHome3D - com.eteks.sweethome3d and It does not load the program? I don't know what to do. Isn't it the right way to run SH3D?
Joined: Jul 26, 2011
Post Count: 62
Status:
Offline
Re: Problem in Running SH3D
That is the message that is displayed:(
Exception in thread "main" java.lang.SecurityException: sealing violation: package javax.media.j3d is sealed at java.net.URLClassLoader.defineClass(URLClassLoader.java:234) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at com.eteks.sweethome3d.j3d.Component3DManager.setRenderingErrorObserver(Component3DManager.java:104) at com.eteks.sweethome3d.SweetHome3D.addComponent3DRenderingErrorObserver(SweetHome3D.java:491) at com.eteks.sweethome3d.SweetHome3D.init(SweetHome3D.java:383) at com.eteks.sweethome3d.SweetHome3D.main(SweetHome3D.java:287)
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Problem in Running SH3D
It feels like you missed the part of the README.TXT speaking about -Djava.ext.dirs. Come on, it's not so long to read entirely, is it?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Problem in Running SH3D
What did you enter in VM arguments text field in the Eclipse Run configuration?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Problem in Running SH3D
I just tried successfully under Lion with the JDK that was automatically installed. You error happens because the Java3D 1.5.2 libraries cited in java.ext.dirs are not found, then Sweet Home 3D uses the default Java3D 1.3 found in /System/Library/Java/Extensions/. As lib and lib/macosx are relative paths, this probably means they are relative to the project root in the configuration you run. Replacing these paths by absolute paths should fix the problem.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator