• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Cannot find class javax/mail/message

 
Ranch Hand
Posts: 455
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Marshal
Posts: 27366
88
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
This looks like a job for .... legal tender! It says so right in this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic