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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: