Chloe
Chloe

Reputation: 26264

Where can I download the JavaDoc for JPA 2.0?

In Eclipse, I tried geronimo-jpa_2.0_spec-1.0.jar > right click > Properties > Javadoc Location > Javadoc URL > Javadoc Location Path: http://docs.oracle.com/javaee/7/api/javax/persistence/package-summary.html > Validate...

but it said it could not find package-list or index.html. I also removed the HTML file from the path and it still would not work. I could not find a JAR file to download either. I have Google plugin install BTW.

Upvotes: 0

Views: 3796

Answers (5)

Rahul Goyal
Rahul Goyal

Reputation: 774

When You download ObjectDB.jar package, the java docs are present inside it. The the file will be present inside doc folder and it will be named as api-javadoc.zip. For adding it in netbeans do the following: 1. click tool 2. click java platform 3. goto javadocs 4. click on add folder/jar files 5. browse to add the api-javadoc.jar file 6. click close 7. restart netbeans

enjoy..:)

Upvotes: 0

Chloe
Chloe

Reputation: 26264

I wandered around Oracle's site trying different paths and found it!

http://docs.oracle.com/javaee/7/api/

This will work in Eclipse and validate. It has full text descriptions for things like EntityManager. It has ALL Java EE APIs as well, so you can use it for other JARs that are missing docs.

Upvotes: 1

Rupesh
Rupesh

Reputation: 2667

If you have included the jar using maven dependency then you can download javadoc and source code by enabling following settings.

In Eclipse click on Window >> Preferences >> type maven in search box >> and enable as shown

enter image description here

Upvotes: 1

Jasha
Jasha

Reputation: 793

You can find the source in the Apache SVN repo

Upvotes: 0

Stefano Sanfilippo
Stefano Sanfilippo

Reputation: 33046

If you couldn't find it on Geronimo website, then Maven Central Repository is a good place: from this search result (version 3.0, if you need another one, just change the query), download javadoc.jar, decompress it somewhere and you are set. Of course, if you are not already using Maven to manage your projects.

Upvotes: 0

Related Questions