I've made java desktop application,swing gui in netbeans and it works in netbeans but I have 2 problems:
1. I cant export working jar or class files
2. I need to run and build it from cmd line in windows xp
I guess that I need to include something in classpath...
when I run dist\app.jar it gives me "cannot find main class" and it's there in manifest file,i opened it and saw it
I've included libraries in dist\lib folder in build
my enviroment is ok,because all other "java program" work,only the programs with swing gui's made in designers in netbeans or eclipse wont work
offcourse app is running when I press run in netbeans
here is classpath debugged in netbeans:
C:\Program Files\NetBeans 6.9.1\java\modules\ext\appframework-1.0.3.jar;
C:\Program Files\NetBeans 6.9.1\java\modules\ext\swing-worker-1.1.jar;
C:\Program Files\NetBeans 6.9.1\java\modules\ext\beansbinding-1.2.1.jar;
C:\Documents and Settings\moje ime\Desktop\DesktopApplication1\build\classes;
C:\Documents and Settings\moje ime\Desktop\DesktopApplication1\src
here is netbeans project http://uppit.com/vig6cthngome/DesktopApplication1.rar