what are the steps to add source code of Javamail API in my project so that i can see javamail classes easily by clicking on its class from my project. I am using eclipse
CARVIEW |
- Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers
- Advertising Reach devs & technologists worldwide about your product, service or employer brand
- Knowledge Solutions Data licensing offering for businesses to build and improve AI tools and models
- Labs The future of collective knowledge sharing
- About the company Visit the blog
Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams2 Answers 2
Welcome to Stack overflow.
There are basically two methods of doing this.
Method 1: The 'Easy' way.
You use Maven, If your project is a maven project. include the dependency for javamail. Right click on your project and select Maven > Download Sources
this should basically download the Source files for all your dependencies.
Method 2: The 'Hard' Way
Go to this link and download your Javamail 1.5 jar. and This link to download your Javamail 1.5 source jar. Next step, Right click on your Project, select Properties. Select Java Build Path, Click the Libraries Tab and Click Add external Jars.
Browse to the location of your library and Add it. Expand the javamail library.
Click Source attachment and click the Edit button.
Browse to the location of your source zip file and add it.
You should now be able to see your Source javadocs, Control Clicking on a Javamail Class, should take you to the source Class as well.
easy way to attach source to any jar file https://javarevisited.blogspot.in/2012/12/how-to-attach-source-in-eclipse-Jar-JDK-debugging.html
- The Overflow Blog
-
-
- Featured on Meta
-
-
-
Related
Hot Network Questions
- Cohomology of a cyclic group: dependence on a generator
- Output shortest string containing all input strings
- Comprehensive explanation of targum onkelus
- Where does the return signal flow for multilayer PCB?
- Motivation for choosing generalized coordinates in classical mechanics
- Connection time of 50 minutes in Helsinki Airport
- book about a girl traveling through other dimensions
- Can a 2024 Monk use Stunning Strike with a thrown dagger, javelin or spear?
- Character who gets sued for defamation for getting lawyer's help
- What does this "lightbulb-ish" symbol mean in figure 1 of the Diffie Hellmann paper?
- How Does the Spell Sniper Feat Interact with the Magic Stone Cantrip?
- What is the logical meaning of the word 'let' when used in mathematical texts?
- In which ways would NASA astronauts be searched-for in the event of an off target landing on land or at sea?
- Is this an integrated crown race on my bike fork?
- Drug that makes the mind a million times faster
- What are the earliest manuscripts containing Acts 21:25. And what do they say?
- Liars and Truth Tellers in a line
- What is the standard for the camera alignment pin?
- Ubuntu gives the message "You are in emergency mode."
- BJT base resistor heats up
- Ceci n'est pas une affix-riddle...
- Which was the first story to feature the idea of men and women separated in different civilizations and in constant space war?
- When does iterated Dirichlet convolution with 1 return the original function?
- Dystopian film where children are supposedly put into deep sleep until the earth is better but are in fact killed