This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
When adding the j2sdk-1_4_2-doc.zip to jdk1.4.2 platform and jdk-1_5_0-doc.zip in jdk1.5 platform it still reports 'javadoc not found' when I use it on Ctrl-F1 on e.g. java.lang.String (using 5.0 rc1)
workaround: unpacking javadoc-zip and adding <javadoc-root>/docs/api will work...
It works for me. Is the platform with filed javadoc assigned to any open project? Ctrl-F1 does nothing. Do you mean Alt-F1(Show Javadoc) or Shift-F1(Index Search)?
Ohhhh well, yep - i meant show javadoc (ALT-F1), this is not work... I always get 'Javadoc not found' (using Netbeans 1.5rc1) With Shift-F1(Index Search) i had several issues: .) I have java1.42 and java1.5 installed in the Java Platform Manager. If i added javadoc1.4.zip to java1.4.2 and left the <javadoc1.5>/docs/api folder mounted to java1.5 platform, SHIFT-F1 would find 'String' in for java1.5, although I'm using java1.4 for that project. It seems Shift-F1 doesn't care about that. BUG (possible): SHIFT-F1 seems not to look for the currently mounted java platform in order to find the correct javadoc. .) If I mounted javadoc1.4.zip to java1.4.2 and javadoc1.5.zip to java1.5 to in the platform manager, SHIFT-F1 would still find javadoc from <javadoc1.5>/docs/api (By double clicking it will be opened in the browser, where you can see the path). Only after restarting Netbeans. It wouldn't find javadoc at all. BUG: So it seems that SHIFT-F1(Index Search) still got the wrong CLASSPATH when mounting different javadocs in Platform Manager. .) BUG: In any case mounting javadoc.zip archives to the platform manager will not display javadoc, neither using SHIFT-F1 (Index Search) nor ALT-F1 (Show Javadoc) Steps to reproduce 'Adding javadoc.zip DOES NOT WORK' .) Close all projects. .) Remove all javadoc and source from platform manager. .) Restart netbeans. .) Create new General/Java Class Application project .) Add javadoc.zip to platform manager (Make sure you are using the same java platfrom than in the project.) .) Type 'String' and press ALT-F1 or SHIFT-F1 ->> Javadoc not found .) Remove Javadoc.zip from platform manager and add the folder of the extracted javadoc <javadoc>/docs/api to the platform manager .) Press ALT-F1 on 'String' ->> ALT-F1 works, opening the Javadoc in the browser .) Press SHIFT-F1 on 'String' ->> SHIFT-F1 still does NOT work -> No Javadoc... .) Restart Netbeans .) Press SHIFT-F1 on 'String' ->> Now it works correctly
I am still not able to reproduce the issue. However it seems the similar issue was filed some time ago (issue #71391). Have you installed j2me support (mobility pack)? BTW the Index Search looks for the result through all javadoc of all open projects and their attached libraries and platforms.
Yes, I have mobility pack RC1, profiler RC1, and meven2.0 plugin, collaboration, Ant 1.6.5 Doc, can't remember the other modules...
OK - that did the trick :) I turned of mobility RC1 and suddenly I get the javadoc even if i mounted it as zip file :) Thanks for the tip! I get javadoc using ALT-F1 instantly Still there seems to be a bug with SHIFT-F1. Since i only get it after restarting Netbeans. Same when i turn Mobility Pack on, can't get ALT-F1 instantly, but still can get SHIFT-F1 javadoc until i restartet netbeans, then SHIFT-F1 is not available to. So it seems the Show Javadoc index is not been updated instantly after starting/stopping modules - at least Mobility Pack
OK, marking this as a duplicate. You can cc yourself to issue #71391 or vote for it to be inform about progress. *** This issue has been marked as a duplicate of 71391 ***