How do I integrate Apple's java documentation with IDEA

Apple's Java documentation  is provided in 3 jar files, in the JDK folder tree.  How do I integrate these with IDEA, so that the External Documentation option on the View menu is live? Alternatively, how do I access the Apple Java documentation from inside IDEA?

7 comments
Comment actions Permalink

Here you have all java related stuff for Mac:

http://developer.apple.com/java/
http://developer.apple.com/java/download/

for Leopard you have to download and install:

Java for Mac OS X 10.5 Update 4 Developer Documentation



 


You should have installed all java updates at first. After that, you will have documentation in all IDEs.

0
Comment actions Permalink

I already have the doc files downloaded and installed.  In IDEA I added the three jar files to the JavaDoc Paths tab  in the JDK setup pane in Project Structure setup.  Yet the External Documentation  item in the IDEA View menu is still grayed, and the Quick Documentation Lookup and Quick Definition Lookup choices still offer no more than before.  So here's an example:  I want to see documentation on the Dock icon in the com.apple.eawt.Application class.  I expect that there is an HTML page on the Application class, and that it will contain documentation on the methods and members of that class, hopefully related to the Dock icon.  How do I access that documentation inside IDEA?

0
Comment actions Permalink

Sorry but I don't understand, why you want add any jar's to the IDEA?

I just installed Apple documentation and that's all. Everything is working. I mean of course Java documentation.

0
Comment actions Permalink

Hello, Don.

Did you manage to solve this problem? I have exactly the same problem I don't understand how can I view the external documentation. This menu item is always grayed.

0
Comment actions Permalink

So... any help with this? It's several months later, no reply. :|

I'm running into the same problem and it's driving me crazy. Documentation appears on some items but not otheres. For example documenation appears on Thread and setColor, but not JFrame or setPreferredSize.

I've tried everything. I've added this:

     /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Home/docs.jar

Both as a library to the module's project settings via "Attach Documentation", I've added its subdirectory of docs/api. I've added this to the Documentation Paths of the SDK under Platform Settings. I've added the URL http://java.sun.com/j2se/6/docs/api to all these places.

Nothing works. :-\

Using 9.0.2 CE.

0
Comment actions Permalink

Wait, somehow I forgot to mention something rather important, and that's that this is only a problem when using the Clojure plugin La Clojure. It works fine when I create a plain Java file.

Hmm... it's odd that some java classes do work though, while others do not. I'll continue investigating, and if I figure it out I'll update this thread.

0
Comment actions Permalink

Ah ha! OK, it works for the fully qualfied name in the clojure file. So in other words it works if I use it on javax.swing.JFrame. I've gone ahead and posted the inquery to a thread in the La Clojure forum.

0

Please sign in to leave a comment.