Category Archives: Eclipse IDE

Add Java Docs to Eclipse/Source API


  1. Extract the zip file in your local directory.
  2. From eclipse Window --> Preferences --> Java --> "Installed JREs" select available JRE (jre6: C:\Program Files (x86)\Java\jre6 for instance) and click Edit.
  3. Select all the “JRE System libraries” using Control+A.
  4. Click “Javadoc Location”
  5. Change “Javadoc location path:” from “” to “file:/E:/Java/docs/api/”.


  1. Go to your JDK installation. (C:\Program Files\Java\jdk1.8.0_66 for me).
  2. Unzip the file (becomes C:\Program Files\Java\jdk1.8.0_66\src\ for me).
  3. In the Eclipse editor window: CTRL + Click on a java.lang library class. (something like String).
  4. Eclipse will complain Source not found and tell you that you don’t have the source.
  5. Click Attach source -> External Location -> External Folder.
  6. Find your source folder (C:\Program Files\Java\jdk1.8.0_66\src\ for me).
  7. Click OK -> OK.
  8. Enjoy.

Read more …

Eclipse Shortcuts for Increased Productivity

Top 30 Eclipse Keyboard Shortcuts for Java Programmers

Ctrl + Shift + F: Automatic format code.

See more from source:

Core Java in 25 hours

Successful Blog: Java- write once, run away!