Print at Dec 20, 2025, 10:13:26 AM
Posted by Mitsaki at Aug 3, 2011, 5:44:09 PM
confused   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? sad

I am desperate!

Posted by Puybaret at Aug 3, 2011, 6:35:19 PM
Re: Problem in Running SH3D
I guess you should learn how to use Eclipse first...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Mitsaki at Aug 3, 2011, 6:56:35 PM
Re: Problem in Running SH3D
I am trying...

Posted by Mitsaki at Aug 4, 2011, 11:47:17 AM
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?

Posted by Mitsaki at Aug 4, 2011, 3:43:20 PM
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)

Posted by Puybaret at Aug 4, 2011, 5:07:00 PM
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? sad
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Mitsaki at Aug 4, 2011, 6:06:34 PM
Re: Problem in Running SH3D
I have done it already! It still has a problem!!!!!!!!!!!!!!!!!!!

Posted by Puybaret at Aug 4, 2011, 6:20:10 PM
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

Posted by Mitsaki at Aug 5, 2011, 7:40:06 AM
Re: Problem in Running SH3D
What the README says, exactly this one:
-Djava.ext.dirs=lib:lib/macosx

Posted by Puybaret at Aug 5, 2011, 9:22:51 AM
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

Posted by Mitsaki at Aug 5, 2011, 9:40:13 AM
Re: Problem in Running SH3D
Is there any chance that the problem is created because of java se 6 that is installed by default in lion?

Posted by Mitsaki at Aug 5, 2011, 9:43:26 AM
Re: Problem in Running SH3D
By the way, thanks a lot and sorry to bother you so much, but I have been left 2-3 days behind because of that:(

Posted by Puybaret at Aug 5, 2011, 9:46:47 AM
Re: Problem in Running SH3D
Is there any chance that the problem is created because of java se 6 that is installed by default in lion?
No I took care to try with that version.
Did you try the absolute paths?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Mitsaki at Aug 5, 2011, 12:02:02 PM
Re: Problem in Running SH3D
Thanks, everything is okay:)

Posted by Puybaret at Aug 5, 2011, 2:31:54 PM
Re: Problem in Running SH3D
It's great you succeeded! smile

I have been left 2-3 days behind because of that
You forgot to take into account the fact that you had to learn Eclipse too!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Mitsaki at Aug 5, 2011, 6:08:32 PM
Re: Problem in Running SH3D
True:)