You do not always need a separate download; the source code is often already on your machine if you have installed the JDK. 1. Locating the Built-in src.zip
To download as a ZIP from the official repository, go to the jdk8u-dev tags and click the link for your desired version.
: You must have an Oracle account to access these archives. 3. OpenJDK 8 Source (Alternative)
For a completely open-source version without login requirements, use the OpenJDK Mercurial Repository or mirrors on GitHub .
Downloading the is essential for developers who want to debug core libraries or understand the internal workings of the Java Development Kit (JDK). How to Get the Java 8 Source Code Zip
Most standard JDK installations include a file named src.zip in the root directory. : Look in C:\Program Files\Java\jdk1.8.x_xx\src.zip .
openjdk/jdk8: https://openjdk.org/projects/jdk8 ... - GitHub