jar files and class path

I have a small swing application which connects to an external database and queries something and creates a small report on the local machine. Running from the command line calling the == java MyClass works good. I would like to deploy this to two other machines. I dont want the use to run from the command line solution. I want to run it from a batch file using the jar file. But I am getting a a classpath issue ( ClassNotFoundException for the jdbc drivers ) . I signed my jar file using jarsigner too. I am not interesed in using the Web Start because there are no other security attached to this app. Only couple of people intends to use it. Running from the command line calling the app file explicitly works. In the batch file I added the setclass path too. Still it gives an exception. I added the jdbc driver jar file to the appication jar file too. Still the problem exists.

Any ideas ?

[911 byte] By [kurmata] at [2007-11-27 4:48:11]
# 1

instead of including the JDBC driver inside your application's jar, have the two jars sit in a directory separatly and include both of them on your classpath. Or, you can even specify a manifest.mf Class-Path parameter for your application's jar file so that it automatically includes the driver's jar.

Dalzhima at 2007-7-12 10:01:02 > top of Java-index,Java Essentials,New To Java...
# 2
Thanks it worked. I added jar to the class path inside the manifest
kurmata at 2007-7-12 10:01:02 > top of Java-index,Java Essentials,New To Java...