This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 79842 - Launching proble in NB 5.5 Swing Project.
Summary: Launching proble in NB 5.5 Swing Project.
Status: RESOLVED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-06 23:01 UTC by alvarommz
Modified: 2006-08-23 09:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alvarommz 2006-07-06 23:01:41 UTC
Hello People

I have developed a swing project by means of netbeans IDE 5.5 Beta. The project 
runs ok when launched from within the IDE, but when I build it and try to 
execute it outside the IDE with the  "Java -jar" command it throws the 
following exception:

"Exception in thread "main" java.lang.NoClassDefFoundError: 
org/jdesktop/layout/GroupLayout$Group

I have made sure to include the org-desktop-layout.jar library in the project´s 
class path, but it appears to be that the java launcher does not find it and 
therefore throws the exception. I would like to know whether you could help me, 
because this project is a request from the company where I work and I need 
finishing it urgently.

Thanks in advance
Alvaro E Martinez M
alvarommz@yahoo.com
Comment 1 Jana Maleckova 2006-07-10 12:51:22 UTC
could you please add your jdk ?
And also please write exact command by which you execute the project
Comment 2 Max Sauer 2006-08-23 09:09:55 UTC
No more info for more than a month -- closing as WORKDFORME.

BTW:
Inside your $projecthome/dist folder, there is a /lib folder, which has to be
distributed along with your .jar file. This is where the libs are located and
referenced from inside jar's MANIFEST.MF file.
see http://www.netbeans.org/kb/articles/javase-deploy.html for more info.