I just allowed my Mac to do an update on its Java installation and now some of my old jars (like javax.mail
and apache.commons.httpclient
) are throwing "class not found" exceptions at run time!
Meaning, they compile fine, but then crash at run time with exceptions that look like this:
E/dalvikvm(2414): Could not find class 'javax.mail.internet.InternetAddress', referenced from method com.my.project.Main.isValidEmailAddress
Do I need to get more recent versions of the jars that have those classes? Or do I need to revert to my previous version of Java?
Or is this some totally unrelated problem that I'm just assuming has to do with the Java update (would be quite a coincidence, all of this worked perfectly prior to the update)?