Web lists-archives.com

time-out with Java connector

I wrote a Java program to connect with MySQL server. As long as it was loose classes in a directory, it worked. As soon as I made it into a JAR file, I had trouble. If I used flag "classpath" to refer to the connector, the connector was not found: with flag "-XshowSettings" I saw that the connector was not on the class-path. I try'd also adding the connector to the JAR file: then the connector after about one day failed, with no connection made.
What am I a-doing wrong?

MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql