Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Attaching Source in the Class file editor of Eclipse  RSS feed

 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi...I'm using Eclipse Helios. I want to attach source in it.
Because whenever i try to open any parent class say 'String' or 'HttpServlet' then it does not open that class and give me message to attach the source file.
Please tell me which source file it is exactly asking for? And how can i get those source files first and attach in my eclipse. So that in future i don't face such issues.
Thanks in advance for your precious time.
 
Vinod Vinu
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any response?
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To attach the SDK source, go to you project's properties dialog, select Java Build Path, then under Libraries select a library (or the JDK) and expand it. One of the subentries might be the source attachment. For a JDK, point it to the src.zip file in the JDK's root directory. Though in Helios you should not have to atatch the source - Eclipse should find it. You might have to add a JDK to the Installed JREs in the preferences though (Eclipse usually picks up a JRE instead of a JDK and JREs don't have source code attached to them).
 
and POOF! You're gone! But look, this tiny ad is still here:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!