Original Post
This is driving me insane I have a netbeans project that I am trying to compile with ant. I run ant compile or ant jar and it builds successfully but when I go to click on the jar nothing happens and when I run in terminal with java -jar jarname.jar I get Exception in thread "main" java.lang.NoClassDefFoundError
I cant figure out why im getting that and heres the funny part when I run ant run the program works as expected.
I cant figure out why im getting that and heres the funny part when I run ant run the program works as expected.