Include libraries into .jar

Hello together,

I have following Problem:

I'm usibg Eclipse to develop my Software. The Software works fine in Eclipse. Now I create an executable jar, exporting it from Eclipse, and when I execute it:

- The libraries (e.g. MySQL Connector) cannot be found

- The image I put on the JDesktopPane background could not be show..

Does somebody know a solution?

Thank you in advance!

[422 byte] By [Gaba] at [2007-10-2 12:36:36]
# 1
Hi, As far as I know there are two solutions:- add <directoryName>\mysql-connector-java-xxxx.jar to the classpath- starting your application with "java -Djava.ext.dirs=<directoryName> <applicationName" includes all the .jar-files in that directory.>
BenEngbersa at 2007-7-13 9:37:41 > top of Java-index,Developer Tools,Java Compiler...