NoClassDefFound Exception : org.jdesktop.layout

Hello,

I am developing a small application in NetBeans. But I want to execute it independant of NetBeans. Just by clicking the JAR file, it works. But I just want to deploy only CLASS Files. And not JAR files. Package org.jdesktop.layout is made availabe by a JAR file Swing-layout-extension.jar, and this library is made available automatically by NetBeans.

While executing All class files independant of NetBeans, it gives above mentioned exception. How can I do this? Please guide me.

I also tried by keeping org package folder inside src folder and then compiling, running. It doesnt works.

Regards

[634 byte] By [nikhil_shravanea] at [2007-11-26 21:00:15]
# 1

Is there any other option than org.jdesktop.layout ?

I provide org.jdesktop.layout foder in the src. I also Removed the library swing-layout-extension.jar from the project (through NetBeans). Now it doesnt give any Error, not exception, but at output it shows a very small panel on a frame. But in design view , I can see all the components in a proper size. What might be the probable cause?

Regards

nikhil_shravanea at 2007-7-10 2:30:55 > top of Java-index,Java Essentials,Java Programming...
# 2
Quite intresting ....This problem is not due to what you are thinking about.........Just check for linking problem with .class filesThanks
SUSHANT_Ja at 2007-7-10 2:30:55 > top of Java-index,Java Essentials,Java Programming...