|
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).
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.