Hi I am new to javamail API. I added mail.jar and activation.jar in my jre/lib/ext.But still when I am trying to run programs I am getting an error of java.lang.NoClassDefFoundError in main .. can anyone help !! i really need to begin up coding as the deadline's approaching
preetika 0 Newbie Poster
Recommended Answers
Jump to PostYou should added the library through your IDE not to mess with Java installation. For example in Netbeans from main menu choose Tools >> Java Platforms . Select a platform you want to add resources for example JKD1.6, select Sources tab and click on Add JAR/Folder. Through file chooser you …
All 3 Replies
peter_budo 2,532 Code tags enforcer Team Colleague Featured Poster
squinx22 -3 Junior Poster in Training
stultuske 1,116 Posting Maven Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.