colin shuker wrote:Hi, I have an application in eclipse that has mail.jar and activation.jar added to its build path.
When I export the project into a jar file (windows xp) and run it, I get:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/mail/Authenticator
I'm not sure how it works, but I guess its using the java installed on pc which doesn't know about those 2 jars.
But they are exported in the jar file, so I thought it might work.
Is there anyway to fix this so I can run this jar on any computer that has java 1.6 installed? Thanks for any help.