How to attach a source in java eclipse - Java @ Desk

Saturday, May 18, 2013

How to attach a source in java eclipse


1) Click on any java class. For instance write a code

ArrayList arrayList = new ArrayList();
Click on ArrayList and navigate to class. Now click on attach source button and select the src folder from your JDK folder. For e.g. C:\Program Files\Java\jdk1.7.0

If src folder is not available then download it and place in that folder






No comments:

Post a Comment