That jar file doesn't contain a SESSION class. It contains a javax.mail.Session class, but that isn't the same thing. You have to specify the full name of the class, including the package it's contained in, and you have to spell it in the correct case. PC2 -----Original Message----- From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jerry Hensley Sent: May 23, 2006 12:19 To: java400-l@xxxxxxxxxxxx Subject: Class Not Found I have a java class defined to send email from the I5 (AS/400, ISeries, etc...). The java class is being called from within a batch RPGIV program in a *NEW activation group. This RPG program is new but I have other programs which do the same call to this java class. In this instance the JVM cannot not load the SESSION class from the mail.jar (Class not Found exception).
This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact