Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 28271
95
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.
 
Self destruct mode activated. Instructions for deactivation encoded in this tiny ad.
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic