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.
Asked
Active
Viewed 61 times
0

ROMANIA_engineer
- 54,432
- 29
- 203
- 199

blackbishop
- 30,945
- 11
- 55
- 76
-
What makes you think that it's the problem? What happens precisely when you open a command line and execute `java -jar yourJarFile.jar`? – JB Nizet Jan 11 '14 at 12:53
-
You can see the error here http://stackoverflow.com/questions/20762227/java-cant-apply-java-look-and-feel – blackbishop Jan 11 '14 at 12:56
-
So, you already asked the same question. Don't re-ask it. Voting to close as duplicate. – JB Nizet Jan 11 '14 at 13:01
1 Answers
1
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.

Community
- 1
- 1

csikos.balint
- 1,107
- 2
- 10
- 25