blackbishop blackbishop - 1 year ago 84
Java Question

Exported Jar file not executing

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

script to build the
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
library of the
Look And Feel
to the generated
file but with no success.

Answer Source

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.