rose High priority Sweethome3d

This topic has been viewed 6834 times and has 6 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
abajwa
Posts: 1
Joined: Mon Nov 09, 2009 2:35 pm
Country: Bolzano, Bolzano, Italy

Sweethome3d

Post by abajwa »

Bother when i load the java main class then i receive this kind of error. please help me ASAP.

Nov 10, 2009 2:16:39 PM javax.media.j3d.NativePipeline getSupportedOglVendor
SEVERE: java.lang.UnsatisfiedLinkError: no j3dcore-ogl-chk in java.library.path
Exception in thread "main" java.lang.UnsatisfiedLinkError: no j3dcore-d3d in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at javax.media.j3d.NativePipeline$1.run(NativePipeline.java:231)
at java.security.AccessController.doPrivileged(Native Method)
at javax.media.j3d.NativePipeline.loadLibrary(NativePipeline.java:200)
at javax.media.j3d.NativePipeline.loadLibraries(NativePipeline.java:157)
at javax.media.j3d.MasterControl.loadLibraries(MasterControl.java:987)
at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:299)
at javax.media.j3d.GraphicsConfigTemplate3D.getBestConfiguration(GraphicsConfigTemplate3D.java:321)
at java.awt.GraphicsDevice.getBestConfiguration(GraphicsDevice.java:158)
at com.eteks.sweethome3d.j3d.Component3DManager.<init>(Component3DManager.java:63)
at com.eteks.sweethome3d.j3d.Component3DManager.getInstance(Component3DManager.java:75)
at com.eteks.sweethome3d.SweetHome3D.addComponent3DRenderingErrorObserver(SweetHome3D.java:449)
at com.eteks.sweethome3d.SweetHome3D.createApplication(SweetHome3D.java:389)
at com.eteks.sweethome3d.SweetHome3D.main(SweetHome3D.java:196)
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweethome3d

Post by Puybaret »

How did you launch Sweet Home 3D?
If you build yourself Sweet Home 3D from the sources, did you read the part of the README.TXT file that mentions "java.ext.dirs"?

By the way, please no "ASAP" in messages. Support is free, so don't ask too much.
Emmanuel Puybaret, Sweet Home 3D creator
meleonid
Posts: 2
Joined: Sat Mar 05, 2011 12:29 pm
Country: SIMFEROPOL, CRIMEA, UKRAINE

Re: Sweethome3d

Post by meleonid »

For newbies like me: please make sure that your're using JRE5. I recieve exception above on JRE6 even with VM parameters from Readme.txt specified. With JRE5 everything works OK.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sweethome3d

Post by Puybaret »

Leonid, sorry to contradict you, but it works with Java 6 too.
Emmanuel Puybaret, Sweet Home 3D creator
meleonid
Posts: 2
Joined: Sat Mar 05, 2011 12:29 pm
Country: SIMFEROPOL, CRIMEA, UKRAINE

Re: Sweethome3d

Post by meleonid »

Emmanuel, that's good! Looks like I did something wrong, because SH3D didn't passed about 10 unit tests and didn't started UI because of error above until I reconfigured it to Java 1.5 VM :(

Anyway, now it works great!
Cardinal
Posts: 22
Joined: Mon Jul 04, 2011 2:46 pm

Re: Sweethome3d

Post by Cardinal »

Hello,

I have the same stacktrace reported above. I've tried adding the VM argument as described in the readme file with no success. When I do this I get a different stacktrace but the same Exception :

Exception in thread "main" java.lang.UnsatisfiedLinkError: no j3dcore-d3d in java.library.path

I am totally unfamiliar to Java 3D so I'm wondering if there's anything in particular I need to do (download? install?) prior to trying to run SH3D on eclipse?

Thanks in advance.
Cardinal
Posts: 22
Joined: Mon Jul 04, 2011 2:46 pm

Re: Sweethome3d

Post by Cardinal »

Well I restarted eclipse and somehow it works. Sorry for the trouble.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests