Search code examples
javaeclipseeclipse-jdt

How to get the sources of JDT of eclipse?


I'm trying to write an Eclipse plugin, but I found that there is no source by default. I searched in www.eclipse.org, but didn't find anything.

My eclipse is 3.6.2. Where can I get the source of JDT?


Solution

  • Assuming that you want to be able to just look at JDT source code (as opposed to edit it), the easiest thing to do is to install the source plugins. Head over to the following update site for Helios:

    http://download.eclipse.org/releases/helios/

    Then look for an entry labeled JDT Source or similar. It may also be called JDT SDK, which would mean that it has the source plus some plugin developer docs.