• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

JAVA Source Attachment in Eclipse

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

May I know how to attach java source in eclipse so that i can see api code by clicking on the api classes.

and from where we can download the java source (servlet or jsp or jstl etc..)
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In your project's properties, go to Java Build Path, and on the Libraries tab, expand the JAR files - there will be source files entry - select that and click the Edit button and point it to the source code.

Where to get the source depends on the JAR; usually you can get the source form the same location from which you obtained the binary JAR. If you are using maven, you can ask it to also get the source JAR (which is made extremely easy if you have the m2eclispe plugin) and then access the source in your local repository.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic