JavaMail jar file

I created a program with JavaMail that worked like I wanted it to in Eclipse (after I added the jars to my classpath), but I cannot seem to get it to work in a jar file. I use the following file as the Manifest file:

Manifest-Version: 1.0

Class-Path: *.jar

Created-By: 1.5.0 (Sun Microsystems Inc.)

Main-Class: Test

The jar file runs smoothly at first, but I recieve the following exception when it tries to send the email.

Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: javax/mail/Address

The JavaMail jar files are located in the same folder as my jar file. Any ideas?

[643 byte] By [Rob_Ha] at [2007-11-27 11:42:47]
# 1

You didn't specify the names of the JavaMail jar files in your Class-Path entry.

DrClapa at 2007-7-29 17:46:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

> You didn't specify the names of the JavaMail jar

> files in your Class-Path entry.

I have tried that before, with the same result. It should look this this, correct?

Class-Path: a.jar b.jar c.jar

Rob_Ha at 2007-7-29 17:46:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3

Nevermind, I re-tried it and it worked. Thanks Dr. Clap.

Rob_Ha at 2007-7-29 17:46:10 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...