Show Javadoc isn't Working
I enjoy the "show javadoc" feature. You put the cursor over the name of a java class in your code, e.g., one of the swing classes. Right click and click on "show javadoc," and it takes you to your browser and the docs on that class. Very cool.
Then I re-installed NetBeans.
Now, "show javadoc" doesn't work any more. It beeps and says "cannot perform show javadoc here," even though I'm clicking at a valid location (on JList in a declaration of a JList: private javax.swing.JList colorMode;).
Can anyone think of what may be going on?
"Cannot perform Show Javadoc here" again
I have the same problem (with JDK 1.6 on Mac OS 10.5 and NetBeans 6.7.1).
I looked at many sites and have found many solutions... none works for me.
1) on Mac OS 10.5, installing java 1.6 does not put any docs there:
2) Pointing netbeans to older docs doesn't change anything.
@: /System/Library/Frameworks/JavaVM.framework/Versions> ls -lart
drwxr-xr-x 3 root wheel 102 Jan 20 2009 1.3.1
drwxr-xr-x 8 root wheel 272 May 21 02:34 1.4.2
drwxr-xr-x 8 root wheel 272 May 21 02:34 1.5.0
drwxr-xr-x 9 root wheel 306 Nov 17 10:45 1.6.0
lrwxr-xr-x 1 root wheel 5 Nov 18 13:14 1.3 -> 1.3.1
lrwxr-xr-x 1 root wheel 5 Nov 18 13:15 1.4 -> 1.4.2
lrwxr-xr-x 1 root wheel 5 Nov 18 13:15 1.5 -> 1.5.0
lrwxr-xr-x 1 root wheel 5 Nov 18 13:15 1.6 -> 1.6.0
lrwxr-xr-x 1 root wheel 1 Nov 18 13:15 Current -> A
drwxr-xr-x 9 root wheel 306 Nov 18 13:15 A
drwxr-xr-x 12 root wheel 408 Nov 18 13:15 ..
lrwxr-xr-x 1 root wheel 3 Nov 18 13:30 CurrentJDK -> 1.6
drwxr-xr-x 14 root wheel 476 Nov 18 13:30 .
@: /System/Library/Frameworks/JavaVM.framework/Versions> find . -name "docs.*"
Actually, what I did is I added
to "Platform Manager" / JDK 1.6 / "javadoc".
Did I do it wrong?
// As fishtoprecords pointed out here, "documentation" (from my perspective) does not exist. To me (a newbee to both java and netbeans), the following:
"download javadocs" or "zip folder of javadocs"
-- is too broad.
-- Maybe I should've added the folder instead of jars?
-- Where can I download the 1.6 docs and how do they look like (for Mac)? -is it a *zip? a *jar? a bunch of html files?...
(Of course the very fact that the Apple distribution of 1.6 doesn't include docs and also the fact there's no easy way to set 1.6 as the default, is very frustrating by itself).
Please help if you know the solution for Mac with 1.6.
Totally agree, but... // Problem SOLVED
>> prefer coding in textpad and using the api versus all the netbeans gadgets....reading the api actually helps you build your logic to the conformations of java
I totally agree (my favorite IDE is emacs), but... I didn't do Java for years, now I need to quickly become fluent again, and without any documentation it's just harder.
Actually I receive a solution on Sun forum (cannot post a link as I have to have a post count 20 or greater, -- LOL):
those having the same issue can find it on google (search for
"Show Javadoc" not working in NetBeans 6.7 // JDK 1.6 on Mac OS 10.5 site:sun.com