I am using JavaMail to do a simple application that sends an email when it finds some files in a directory. I managed to get it worked from Eclipse. I Run the application an
I had the same error, updating the jar from Oracle directly fixed it.