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
- Differential amplifier layout: closer to MCU or target?
- Why is `&self` allowed in the parameters of `&mut self` methods, but not `&mut self`?
- Was the double prehung exterior door on my shed installed backwards?
- Book/book series including siblings (possibly twins; boy and girl) fighting various creatures from the 2010's
- Multilingual entries in biblatex throw errors after using \selectlanguage{} from babel
- Can heat be converted to light (possibly via infra-red)? For an underground setting
- Calculating the wall thickness in a hollow rotating cylinder space habitat
- 16-bit comparisons setting both zero and carry flag on 8080/Z80
- Sum of ranks of blocks
- What does it mean when validation loss increases over several epochs?
- What is the consistency strength of Russell & Whitehead's ‘Principia Mathematica’?
- Is there a formal threshold for when a variable is considered 'random' in statistics? What is it?
- What was intestacy law in 1852 London?
- Force use of iGPU instead of dGPU for Android Studio
- Comprehensive explanation of targum onkelus
- TeX development in C instead of Pascal
- Why is there a broom in 歸?
- Did Webster's Dictionary define Fascism by its relationship to corporations until 1987?
- Why does contact with the ground make my touch-activated LED brighter?
- At Helsinki airport, connecting from Schengen to non-Schengen flight, is there exit immigration?
- Can I mount my PC with a desktop mount underneath a particle board Ikea Karlby Walnut top?
- Repository with SQLite in Python
- You can't use `\prevdepth' in display math mode
- How should a typical reward curve look like while training a RL model