eclipse - How to add Javamail API source code in eclise project -


what steps add source code of javamail api in project can see javamail classes clicking on class project. using eclipse

welcome stack overflow.

there 2 methods of doing this.

method 1: 'easy' way.

you use maven, if project maven project. include dependency javamail. right click on project , select maven > download sources enter image description here should download source files dependencies.

method 2: 'hard' way

go link , download javamail 1.5 jar. , link download javamail 1.5 source jar. next step, right click on project, select properties. select java build path, click libraries tab , click add external jars. enter image description here

browse location of library , add it. expand javamail library. click source attachment , click edit button. enter image description here browse location of source zip file , add it.

you should able see source javadocs, control clicking on javamail class, should take source class well.


Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

Delphi interface implements -

css - invalid property value for padding -