• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find class javax/mail/message

 
Jennifer Sohl
Ranch Hand
Posts: 455
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there. I have an application that I am using to send email to users to notify them of certain events. It works perfectly fine if I am running JRE 1.6_12...... however once I upgraded to JRE 1_6_15 it now says it cannot find the class javax/mail/Message. I have all of the JavaMail jar files exported with my .jar file. JavaMail version is 1.4.1. Any ideas why all of a sudden this wouldn't work with the new JRE update?
 
Paul Clapham
Sheriff
Pie
Posts: 20163
24
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My guess is that whoever set up that application took a shortcut and just dropped the JavaMail jars into the extensions directory of the JRE. Then you installed a new JRE, and its extensions directory doesn't contain the JavaMail jars, so now the application can't find them.
 
Jennifer Sohl
Ranch Hand
Posts: 455
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually I am the one who set this up. I didn't drop the jars into the JRE ext directory. (I double checked just to make sure ) I'm actually using Eclipse to develop the project. Within that project in eclipse I imported the JavaMail jar files as reference libraries and exported everything into one jar. This app has been running fine on JRE 1.6.11 and 1.6.12 and 1.6.13. It just blew up when one user installed JRE 1.6.15. I'm stumped.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic