Close
jGuru Forums
Posted By: Shubho_Goswami Posted On: Thursday, May 30, 2002 10:03 PM
I am sending mails through Javamail API . I installed Javamail and JAF in my machine and put the mail.jar and activation.jar files under jre/lib/ext directory.The code was compiled without any errors. But when I am executing the program I am getting java.lang.NoClassDefFoundError: javax/mail/Address .
I have tried by modifying the classpath and also compiled the code with -classpath option.But I am getting the same error.But If I run the autoexec.bat It runs fine. Please suggest something.
Re: Javamail java.lang.NoClassDefFoundError: javax/mail/Address
Posted By: John_Zukowski Posted On: Wednesday, June 5, 2002 12:04 AM