joek1975
joek1975

Reputation: 3583

Attach Javadoc to Library in NetBeans

I'm new to using the NetBeans IDE. When I try to look at the documentation for say the java API (example, System class), it says that the javadoc is not installed. How do I install the documentation?

Upvotes: 3

Views: 14343

Answers (5)

Shane Walker
Shane Walker

Reputation: 401

In NetBeans right click on your project, then:

  • Properties
  • Libraries

then select the library you added and select edit, there is a window for you to add your javadocs there. You have to add the .jar file first, or I am told you can add the entire folder and it will add the javadocs for you. I have never had any luck with that method tho.

Upvotes: 0

Natty
Natty

Reputation: 295

For netbeans 7.0

  1. Download javadoc
  2. Right click project
  3. Properties
  4. Libraries
  5. Manage platforms
  6. Add Zip/Folder

If you wish to add a specific libray api documentation (Say for example JavaFX)

  1. Libraries
  2. Compile Tab - Edit
  3. Browse and give the javadoc

Upvotes: 3

Tim Hennekey
Tim Hennekey

Reputation: 2186

  1. Right click the project
  2. Select Properties
  3. Select "Java Sources
  4. Classpath" Click "Manage Java Platforms..."
  5. Click the platform being used by the project
  6. Click the Javadoc tab
  7. Click the "Add ZIP/Folder..." button
  8. Select the Javadoc you have downloaded to your machine

Upvotes: 4

Agusti-N
Agusti-N

Reputation: 3973

First you download the javadoc.

Second go to Tools-->Java Platforms and select Javadoc tab from the Java Platform Manager. Click the Add ZIP/Folder.

Upvotes: 5

Brian Knoblauch
Brian Knoblauch

Reputation: 21369

Not sure, but you can reference it at: http://java.sun.com/javase/reference/api.jsp until someone is able to answer your real question!

Upvotes: 0

Related Questions