To use offline Java API Documentation in Eclipse, you need to download it first. The link for Java docs are (last updated on 2013-10-21):

Java 6
Page: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-doc-download-355137.html
Direct: http://download.oracle.com/otn-pub/java/jdk/6u30-b12/jdk-6u30-apidocs.zip

Java 7
Page: http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html

Java 8
Page: http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html

Java 9
Page:http://www.oracle.com/technetwork/java/javase/documentation/jdk9-doc-downloads-3850606.html

  1. Extract the zip file in your local directory.
  2. From eclipse Window --> Preferences --> Java --> "Installed JREs" select available JRE (jre6: C:\Program Files (x86)\Java\jre6 for instance) and click Edit.
  3. Select all the "JRE System libraries" using Control+A.
  4. Click "Javadoc Location"
  5. Change "Javadoc location path:" from "http://download.oracle.com/javase/6/docs/api/" to "file:/E:/Java/docs/api/".

It must work as it works for me. I don't need Internet connection to view Java API Documentation in Eclipse anymore.

Answer from cslraju on Stack Overflow
🌐
Oracle
docs.oracle.com › en › java › javase › 26
JDK 26 Documentation - Home
1 week ago - The documentation for JDK 26 includes developer guides, API documentation, and release notes.
🌐
MarkLogic
docs.marklogic.com › guide › java.pdf pdf
Java Application Developer's Guide - MarkLogic
can run an application that uses the Java Client API. A REST API instance includes a specially configured HTTP App Server capable of handling · REST Client API requests, a content database, and a modules database. MarkLogic Server comes · with a suitable REST API instance attached to the Documents database, listening on port 8000.
🌐
Scribd
scribd.com › document › 663790210 › API-API-Documentation
API&API Documentation | PDF
API&API Documentation - Free download as PDF File (.pdf), Text File (.txt) or read online for free. API AND API DOCUMENTATION
Top answer
1 of 14
107

To use offline Java API Documentation in Eclipse, you need to download it first. The link for Java docs are (last updated on 2013-10-21):

Java 6
Page: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-doc-download-355137.html
Direct: http://download.oracle.com/otn-pub/java/jdk/6u30-b12/jdk-6u30-apidocs.zip

Java 7
Page: http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html

Java 8
Page: http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html

Java 9
Page:http://www.oracle.com/technetwork/java/javase/documentation/jdk9-doc-downloads-3850606.html

  1. Extract the zip file in your local directory.
  2. From eclipse Window --> Preferences --> Java --> "Installed JREs" select available JRE (jre6: C:\Program Files (x86)\Java\jre6 for instance) and click Edit.
  3. Select all the "JRE System libraries" using Control+A.
  4. Click "Javadoc Location"
  5. Change "Javadoc location path:" from "http://download.oracle.com/javase/6/docs/api/" to "file:/E:/Java/docs/api/".

It must work as it works for me. I don't need Internet connection to view Java API Documentation in Eclipse anymore.

2 of 14
57

For offline Javadoc from zip file rather than extracting it.

Why this approach?

This is already answered which uses extracted zip data but it consumes more memory than simple zip file.

Comparison of zip file and extracted data.

jdk-6u25-fcs-bin-b04-apidocs.zip  --->  ~57 MB
after extracting this zip file  --->  ~264 MB !

So this approach saves my approx. 200 MB.

How to use apidocs.zip?

1.Open Windows -> Preferences

2.Select jre from Installed JREs then Click Edit...

3.Select all .jar files from JRE system libraries then Click Javadoc Location...

4.Browse for apidocs.zip file for Archive path and set Path within archive as shown above. That's it.

5.Put cursor on any class name or method name and hit Shift + F2

🌐
Oracle
docs.oracle.com › outsidein › 853 › oit › OISXD › GUID-CD3020DE-25DE-4675-BC54-745756C2DAA9.htm
Introduction to the Java API
The API also supports opening certain types of embedded documents from within an input file. For example, a .zip file may contain a number of embedded documents; and an email message saved as a .msg file may contain attachments. The API provides the means of opening these types of embedded documents.
🌐
Oracle
docs.oracle.com › en › java
Java Documentation - Get Started
January 31, 2023 - Whether you are working on a new cutting edge app or simply ramping up on new technology, Java documentation has all the information you need to make your project a smashing success. Use the rich set of code samples, tutorials, developer guides, API documentation, and more to quickly develop ...
Find elsewhere
🌐
DevDoc
devdoc.net
Developer's Documentation Collections(aka API docs: devdoc)
Learn all about developing enterprise applications by working your way through this tutorial, which includes working examples and instructions for creating applications with Java EE 7 technologies, including new and updated technologies: Java API for WebSocket, JSON Processing, Batch, Concurrency Utilities, JMS, Java Servlets, RESTful Web Services, JavaServer Faces, Enterprise JavaBeans, Java Persistence API, Contexts and Dependency Injection for Java EE, and more.
🌐
DevDocs
devdocs.io › openjdk
DevDocs — OpenJDK 25 documentation
OpenJDK 25 API documentation with instant search, offline support, keyboard shortcuts, mobile version, and more.
Top answer
1 of 13
187

Links to JDK documentation

Java SE Download Web Other
27 (future, due 2026-09) « not yet available » Javadoc Project page
26 (future, due 2026-03) « not yet available » Javadoc Project page
25 (LTS) (2025-09, current) Downloads page Javadoc Doc home
24 Downloads page Javadoc Doc home
23 Downloads page Javadoc Doc home
22 Downloads page Javadoc Doc home
21 (LTS) (2023-09) Downloads page Javadoc Doc home
20 Downloads page Javadoc Doc home
19 Downloads page Javadoc Doc home
18 Downloads page Javadoc Doc home
17 (LTS) (2021-09) Downloads page Javadoc Doc home
16 no longer available Javadoc Doc home
15 no longer available Javadoc Doc home
14 no longer available Javadoc Doc home
13 no longer available Javadoc Doc home
12 no longer available Javadoc Doc home
11 (LTS) (2018-09) Downloads page Javadoc Doc home
10 no longer available Javadoc Doc home
9 no longer available Javadoc Doc home
8 (LTS) Downloads page Javadoc Platform home
Doc home
7 no longer available Javadoc Doc home
6 no longer available Javadoc Doc home

Also of interest:

  • Release Notes
  • History of Java SE versions
  • What does Long-Term Support mean? (2021), and related video (2023), by Nicolai Parlog
2 of 13
28
  1. First, make sure they don't already offer an download in zip form or similar.

  2. Then, make sure you are actually allowed to do this (this may depend on where you live, and on any conditions mentioned on the web site from where you want to pull this).

  3. Then, have a look at the Wget tool. It is part of the GNU system, thus included in many Linux distributions, but also available for Windows and Mac, I suppose.

Something like this works for me:

wget --no-parent --recursive --level inf --page-requisites --wait=1 \
   https://epaul.github.io/jsch-documentation/simple.javadoc/

(without the line break; it should be escaped by the \ backslash here).

Look up what each option does in the manual before trying this.

If you want to do this repeatedly, look into the --mirror option. For downloading other websites, --convert-links might also be useful, but I found that is not needed for Javadocs, which usually have the correct absolute and relative links.

This downloads lots of the same copy of the index.html file with appended ?... names (for the FRAMES links on each page). You can remove these files after downloading by adding the --reject 'index.html\?*' option, but they still will be downloaded first (and checked for recursive links). I did not yet find out how to avoid downloading them at all. (See this related question on Server Fault.)

Maybe adding the right recursion level would help here (I didn't try).

After downloading, you might want to zip the resulting directory to take less disk space. Use the zip tool of your choice for this.

🌐
Oracle
docs.oracle.com › javase › 8 › docs
Java Platform Standard Edition 8 Documentation
3 weeks ago - JDK 8 is a superset of JRE 8, and contains everything that is in JRE 8, plus tools such as the compilers and debuggers necessary for developing applets and applications. JRE 8 provides the libraries, the Java Virtual Machine (JVM), and other components to run applets and applications written ...
🌐
Oracle
docs.oracle.com › javase › 8 › docs › api › org › w3c › dom › Document.html
Document (Java Platform SE 8 )
October 20, 2025 - Java™ Platform Standard Ed. 8 ... Submit a bug or feature For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
🌐
Oracle
docs.oracle.com › en › java › javase › 24 › docs › api › index.html
Overview (Java SE 24 & JDK 24)
July 15, 2025 - Defines an API for expressing computations that can be reliably compiled at runtime into SIMD instructions, such as AVX instructions on x64, and NEON instructions on AArch64. ... Defines tools for manipulating Java Archive (JAR) files, including the jar and jarsigner tools. ... Defines the implementation of the system documentation tool and its command-line equivalent, javadoc.
🌐
Oracle
docs.oracle.com › en › java › javase
Java Platform, Standard Edition Documentation - Releases
3 weeks ago - Java Platform, Standard Edition documentation, current and previous releases
🌐
YouTube
youtube.com › watch
How to Use Java Api Documentation - Step by Step - YouTube
How to Use Java Api Documentation - Step by Step | 🔒 Surfshark VPN Deal — Stay private and secure. $1.99/mo + 3 Months Free ▸ https://theslopfarm.com/Surfsh...
Published   December 9, 2025
🌐
Dev.java
dev.java › learn
Learn Java - Dev.java
Provides a general overview of regular expressions. It also introduces the core classes that comprise this API. ... Java reflection allows an object to look in the mirror and discover what fields, methods, and constructors it has.
🌐
Oracle
docs.oracle.com › javase › 9 › docs › api
Java SE 9 & JDK 9
JavaScript is disabled on your browser · Scripting on this page tracks web page traffic, but does not change the content in any way
🌐
Baeldung
baeldung.com › home › java › core java › introduction to javadoc
Introduction to JavaDoc | Baeldung
January 28, 2026 - Good API documentation is one of the many factors contributing to the overall success of a software project. Fortunately, all modern versions of the JDK provide the Javadoc tool for generating API documentation from comments present in the source code.