ok, so i finally figured out
ant and used it to compile and build a jar file. However, when i try to run the jar file, i get the following error:
Exception in
thread "main" java.lang.NoClassDefFoundError: com/jgoodies/plaf/plastic/PlasticTheme
The class causing the error is an external jar file my program depends on.
Its called jgoodies.jar (skins the GUI) which i import in my source code. I also added it to the class path when i compiled. I used ant to include it in the final program jar, so its there. Yet when i run this jar it says the class path isnt set for it. It cant find it. Can you have jar files inside of jar files? Am i suppose to add more to the manifest file? I allready have it pointing to the class containing my main and thats working.
How do i include my external library jars my program depends on inside the final executable jar for my program so it can find them?
This is driving me crazy, first i had a hell of a time with ant, now this... Why does deployng your program have to be so complicated in
java.. =(
Thanks, ryan