Can't run application

This topic has been viewed 5797 times and has 1 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
Jason_Mazzotta
Posts: 1
Joined: Sun Aug 12, 2007 8:20 pm

Can't run application

Post by Jason_Mazzotta »

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

Re: Can't run application

Post by Puybaret »

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

Who is online

Users browsing this forum: No registered users and 1 guest