Joined: Aug 12, 2007
Post Count: 1
Status:
Offline
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]
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
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