I'm working on a small application which can be found here. I have one problem : the generated Jar file is not executing. I used an Ant
script to build the Jar
file (The script is included in the link given below). I think the problem is in the Look And Feel
which I applied (Synthetica Look and Feel). I tried to add the Jar
library of the Look And Feel
to the generated Jar
file but with no success.
I am not familiar with Ant build environment, but according to the stackTrace, this is because you pack jar without the used libs. After a short search I found this docs here.
Apply to your project in order to compile jar with lib jar(s).
Or this answer also shows how to compile jar with dep. libs.