Print at Dec 22, 2025, 12:47:41 PM
Posted by Jason_Mazzotta at Aug 12, 2007, 8:20:00 PM
Can't run application
Hi,
I'm trying to run Sweet Home 3D on windows. I'm using NetBeans to build and run the application. I was able to compile the application. However, when I try to run it, I get:

java.lang.NoClassDefFoundError: and
Exception in thread "main"


Can anyone tell me how I can trace the source of this error?

Thanks,

Jason Mazzotta




[Note: this thread was started on sourceforge.net forums]

Posted by Puybaret at Aug 13, 2007, 2:13:00 AM
Re: Can't run application
The easiest way to run Sweet Home 3D is with its online JNLP file available at http://sweethome3d.sourceforge.net/SweetHome3D.jnlp .
If you want to run it from NetBeans you should run the class com.eteks.sweethome3d.SweetHome3D with the system property java.library.path equal to the lib/windows Sweet Home 3D sub directory (thanks to the Java option -Djava.library.path=path/to/lib/windows).


----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator