Eclipse can't find Java source code [message #696715] |
Thu, 14 July 2011 17:22 |
daniel_jb1 Messages: 4 Registered: July 2011 |
Junior Member |
|
|
Hi,
I have just started using Eclipse, having previously used NetBeans.
I would like to be able to CTRL + Click on a standard Java function in my code and have its source code displayed, as I believe is intended. However, if I try and do so, I get a screen with the following message:
Quote:Class File Editor
Source not found
The JAR file C:\Program Files\Java\jre6\lib\rt.jar has no source attachment.
You can attach the source by clicking Attach Source below:
But regardless of which folder I choose I can't seem to get it to recognise the Java source code in the way that NetBeans did.
I have the following file:
C:\Program Files\Java\jdk1.6.0_21\src.zip
Can anyone advise me on what to do?
Thanks,
- Dan
[Updated on: Thu, 14 July 2011 17:23] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01668 seconds