View Java Source In Eclipse for Windows – The Easy Way

In a previous post I outlined the steps to view java source code in eclipse.

I have since found a much easier way to do this.

Requirements:

Steps:

  1. Open eclipse
  2. Create a new java project
  3. Expand your project, next expand your JRE System Library
  4. eclipsejresystem
  5. Right click on rt.jar > Properties > Java Source Attachment > External Location
  6. Select External File…
  7. Browse to your jdk installation, locate src.zip
  8. eclipsejresystemsource
  9. Click OK
  10. Expand the rt.jar
  11. View Source

eclipseviewsource

Posted in Java
One comment on “View Java Source In Eclipse for Windows – The Easy Way
  1. […] UPDATE: View Java Source In Eclipse for Windows – The Easy Way […]

Leave a comment