confused Problem in Running SH3D

This topic has been viewed 7167 times and has 15 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Mitsaki
Posts: 62
Joined: Tue Jul 26, 2011 2:27 pm

Problem in Running SH3D

Post by Mitsaki »

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

I am desperate!
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Problem in Running SH3D

Post by Puybaret »

I guess you should learn how to use Eclipse first...
Emmanuel Puybaret, Sweet Home 3D creator
Mitsaki
Posts: 62
Joined: Tue Jul 26, 2011 2:27 pm

Re: Problem in Running SH3D

Post by Mitsaki »

I am trying...
Mitsaki
Posts: 62
Joined: Tue Jul 26, 2011 2:27 pm

Re: Problem in Running SH3D

Post by Mitsaki »

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?
Mitsaki
Posts: 62
Joined: Tue Jul 26, 2011 2:27 pm

Re: Problem in Running SH3D

Post by Mitsaki »

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

Re: Problem in Running SH3D

Post by Puybaret »

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
Mitsaki
Posts: 62
Joined: Tue Jul 26, 2011 2:27 pm

Re: Problem in Running SH3D

Post by Mitsaki »

I have done it already! It still has a problem!!!!!!!!!!!!!!!!!!!
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Problem in Running SH3D

Post by Puybaret »

What did you enter in VM arguments text field in the Eclipse Run configuration?
Emmanuel Puybaret, Sweet Home 3D creator
Mitsaki
Posts: 62
Joined: Tue Jul 26, 2011 2:27 pm

Re: Problem in Running SH3D

Post by Mitsaki »

What the README says, exactly this one:
-Djava.ext.dirs=lib:lib/macosx
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Problem in Running SH3D

Post by Puybaret »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests