Usually, I run a NetBeans application from the IDE, but now I need to run it from the command line using java.exe. For some reason it doesn't work and I get a java.lang.NoClassDefFoundError. I suppose you know why and you can help me. Thank you.