OpenJDK



Skip to end of metadataGo to start of metadata

OpenJDK 8 updates are a separate project of OpenJDK. Andrew Haley serves as the Project Lead. The list of Reviewers, Committers, and Authors can be found in the jdk8u entry of the OpenJDK Census.

Maintainers

Apr 06, 2021 While this distribution is based on GA code of OpenJDK 11.0.10, this release of Microsoft Build of OpenJDK is a preview because we want to give our customers and users an opportunity to provide feedback on things like the packaging and installation experience before we ship a production-ready Generally Available release. OpenJDK is an open source Java Development Kit provided by Oracle. This article explains how to install OpenJDK 11, without removing Oracle Java from the PC. OpenJDK (Open Java Development Kit) is a free and open-source implementation of the Java Platform Standard Edition (Java SE), released under the GNU General Public License (GNU GPL) version 2. Then add the OpenJDK path to Path variables on the “Environment variables”, in order to make java available on the command line: 6. Confirm that OpenJDK was installed correctly by running the following command “Java - version”: 7. Unzip visualvm to any location you like.

Releases

Latest GA release: 8u292

Latest Generally Available (GA) binary releases of the OpenJDK jdk8u project are available at: https://adoptopenjdk.net/upstream.html?variant=openjdk8&ga=ga

Latest Early Access (EA) binary releases of the OpenJDK jdk8u project are available at: https://adoptopenjdk.net/upstream.html?variant=openjdk8&ga=ea

Most recent and past release details:

OpenJDK
  • 8u292-b10 (GA), April 20th 2021 [Release] [Tag] [Binaries]
  • 8u282-b08 (GA), January 19th 2021 [Release] [Tag] [Binaries]
  • 8u275-b01 (GA), November 5th 2020 [Release] [Tag] [Binaries]
  • 8u272-b10 (GA), October 20th 2020 [Release] [Tag] [Binaries]
  • 8u265-b01 (GA), July 14th 2020 [Release] [Tag] [Binaries]
  • 8u262-b10 (GA), July 14th 2020 [Release] [Tag] [Binaries] [Missing changes vs 8u262 of Oracle] (JBS Login required) [Additional changes vs 8u262 of Oracle] (JBS Login required)
  • 8u252-b09 (GA), April 14th 2020 [Release] [Tag] [Binaries] [Missing changes vs 8u252 of Oracle] (JBS Login required) [Additional changes vs 8u252 of Oracle] (JBS Login required)
  • 8u242-b08 (GA), January 19th 2020 [Release] [Tag] [Binaries] [Missing changes vs 8u242 of Oracle] (JBS Login required) [Additional changes vs 8u242 of Oracle] (JBS Login required)
  • 8u232-b09 (GA), October 15th 2019 [Release] [Tag] [Binaries] [Missing changes vs 8u232 of Oracle] (JBS Login required) [Additional changes vs 8u232 of Oracle] (JBS Login required)

  • 8u222-b09 (GA), July 16th 2019 [Release] [Tag] [Binaries] [Missing changes vs 8u222 of Oracle] (JBS Login required) [Additional changes vs 8u222 of Oracle] (JBS Login required)

  • 8u212-b03 (GA), April 16th 2019 [Release] [Tag] [Binaries] [Missing changes vs 8u212 of Oracle] (JBS Login required) [Additional changes vs 8u212 of Oracle] (JBS Login required)

Repository Status

jdk8u-dev: Pushes for OpenJDK 8u302 after jdk8u-fix-yes approval. Check here for clearance.

jdk8u: Closed pending release of 8u292.

Timelines

OpenJDK 8u292

Openjdk
  • Monday, November 30th 2020: jdk8u-dev forest open (tag: jdk8u292-b00)
  • Friday, January 29th 2021: First build promotion jdk8u-dev→jdk8u (tag: jdk8u292-b01)
  • Friday, February 5th 2021: Second build promotion jdk8u-dev→ jdk8u (tag: jdk8u292-b02)
  • Friday, February 12th 2021: Third build promotion jdk8u-dev→ jdk8u (tag: jdk8u292-b03)
  • Friday, February 19th 2021: Fourth build promotion jdk8u-dev→ jdk8u (tag: jdk8u292-b04)
  • Monday, March 1st 2021: Fifth build promotion jdk8u-dev→ jdk8u (tag: jdk8u292-b05) & start of Rampdown phase
  • Friday, March 5th 2021: First jdk8u build promotion (tag: jdk8u292-b06)
  • Friday, March 12th 2021: Second jdk8u build promotion (tag: jdk8u292-b07)
  • Friday, March 19th 2021: Third jdk8u build promotion (tag: jdk8u292-b08)
  • Friday, March 26th 2021: Final jdk8u build promotion & tag before code freeze (tag: jdk8u292-b09)
  • Tuesday, April 20th 2021: GA; OpenJDK 8u292 released (tag: jdk8u292-ga, likely to be jdk8u292-b10)

Older releases can be found in the archive.

General Information

As a preamble, the project lead has established general guidelines for working on jdk8u and best practices for OpenJDK 8u backports.

OpenJDK 8 updates will be delivered on the same established quarterly cycle used by Oracle i.e. 'the Tuesday closest to the 17th day of January, April, July and October.'

Development takes place in the jdk8u-dev Mercurial repository and should be the primary place for OpenJDK committers to submit their work.

Code from the development repository is regularly tagged and promoted to the master jdk8u repository, which is used to stabilize and deliver the quarterly releases. Distributors should use this as their primary source for creating OpenJDK builds.

For further process details, you may want to continue reading here.

Contributing

New fixes should first be submitted to the development repository for the current version of OpenJDK, jdk/jdk, first. The vast majority of changes submitted to the OpenJDK 8 project will be backports from later OpenJDK versions. The version of OpenJDK closest to 8u should be used to minimise the differences between the two JDKs e.g. if 11u is still maintained and has the patch, it should be backported from that repository, rather than jdk/jdk. Occasional exceptions are made when an issue only applies to 8. In particular, the build system can be quite different from that in later versions, especially as regards HotSpot.

Everybody is encouraged to submit fixes for OpenJDK 8 updates by dropping a mail to the jdk8u-dev mailing list. Established community members will help new developers without commit access in getting their patch reviewed. Should you not be willing or not be able to drive a fix into OpenJDK 8 updates, you can still suggest changes. But by only doing that, you are at the grace of the community to pick up your suggestion.

The suggested process is as follows:

  1. Check the bug database for which JDK versions already have the patch applied.
  2. When actively starting working on the bug, add a label of the form 'jdk8u-<username>', to the bug - where <username> is your OpenJDK username - to indicate that you are creating a backport.
  3. Take a copy of the patch from the repository of the JDK version closest to 8u to minimise changes.
  4. If the patch was developed after the switch to a single repository (during the OpenJDK 10 lifecycle), shuffle the paths using <source jdk>/bin/unshuffle_patch.sh -to9 <original.patch> <9.patch> to get a version that works with the forest of repositories. In some cases, this may mean multiple patches for different repositories.
  5. If the patch was developed after the switch to the modular system (during the OpenJDK 9 lifecycle) and is not a HotSpot fix, shuffle the paths using <jdk9>/common/bin/unshuffle_patch.sh <repo> <9.patch> <8.patch>. An updated version of this script is maintained in Andrew Hughes' jdk9u-updated branch on github.
  6. Try to apply the patch by using hg import <patch>. If it applies, go to #8. Otherwise, #7.
  7. Fix the patch so it applies. This may require identifying other patches which need to backported first, in which case you start this process again with that fix.
  8. Build the resulting JDK and/or run any new or modified tests, altering if necessary. Again, this may end up needing dependent backports to fix issues that arise.
  9. You now should have a working patch. If no changes were necessary other than path shuffling, proceed to step #13. Otherwise, step #10.
  10. Use the webrev tool to create a webrev. Post a mail to jdk8u-dev@openjdk.java.net with the subject 'RFR: <bug ID> <bug description>', asking for a review.Explain the motivation and what technical changes were necessary to make the patch work with 8u. Include a link to the bug and to your webrev uploaded on cr.openjdk.java.net. If you can't upload to cr.openjdk.java.net, ask someone with OpenJDK authorship status or above to do it on your behalf.
  11. Update the bug with a link to the RFR on the mailing list and add the label 'jdk8u-needs-review'.
  12. Wait for a successful review from an OpenJDK 8u reviewer.
  13. Go to the bug in JIRA and replace the 'jdk8u-needs-review' label with the 'jdk8u-fix-request' label. Write a comment preceded with 'Fix Request [8u]'. Explain the motivation for the fix, and either explain that it applies cleanly to 8u with patch shuffling, or link to the successful review thread on the mailing list. If you don't have bug database access, someone will need to do this on your behalf. In the case that the bug is inaccessible (the page displays 'You can't view this issue'), please make the request by e-mail to jdk8u-dev@openjdk.java.net with the subject 'RFA: <bug ID> <bug description>' and the same motivation in the body of the e-mail as would have been included in the request comment. It may also be worth replying to the original review thread, asking for the bug to be made public.
  14. Wait for an 8u maintainer to add jdk8u-fix-yes to the bug.
  15. The change can now be committed & pushed to the appropriate jdk8u-dev repository. If you don't have committer or above status, someone will need to to do so on your behalf. Patches that apply cleanly or only need a few minor changes which don't alter the code (e.g. copyright header fixes, same changes in a different context) should use the original author & reviewers for the commit. If the fix was reviewed, those reviewers should be appended to the end of the list. If substantial code changes were needed to create the 8u fix, authorship should go to the backporter and reviewers should only list those who reviewed the altered patch.
  16. Pat yourself on the back, having successfully got a patch into OpenJDK 8u.

Backport bugs will be automatically created on push by the hgupdater system. If a backport bug needs to be explictly created - for example, for a Compatibility and Specification Review (CSR) - then please apply labels to that bug to avoid the need to work on two different bugs for the one issue. The fix version should be set to 'openjdk8ux' where x is the current version of 8u being developed. Please avoid using 'openjdk8u' as the hgupdater will not resolve such bugs automatically. Maintainers should double-check this fix version is correct when approving.

Fix Approvals

In general, we follow the common rules for the jdk-updates project.

If the backport does not apply to the 8u tree via the automated shuffling described above, it should first be submitted for review.

Push approval for a fix is then requested by setting the jdk8u-fix-request label on the original JBS bug. The maintainer will either approve this by setting jdk8u-fix-yes or reject it by setting jdk8u-fix-no. Outstanding approvals can be monitored here. If, and only if, the fix is approved, it may be pushed to the appropriate jdk8u-dev repositories. Approved fixes show up in this JBS filter (login required).

During the later stages of a release cycle, the release enters rampdown. The master jdk8u repositories contain the latest version of that release, while the jdk8u-dev repositories are used to start work on the next release. If a change needs to be pushed to a release in rampdown, push approval can still be requested using the jdk8u-critical-request label. As the name of this tag suggests, this process is intended for fixes such as major regressions that must make the release. More minor bugs and new features should go in the next release being developed in jdk8u-dev. The maintainers may approve with jdk8u-critical-yes, defer to jdk8u-dev or reject altogether. Outstanding approvals for critical fixes can be monitored here. If, and only if, the fix gets approved with jdk8u-critical-yes, it may be pushed to the jdk8u repository. Approved critical fixes show up in this JBS filter (login required).

At the end of the month prior to the release month, the jdk8u repository is declared frozen, so embargoed security fixes can be added in private during the final few weeks. On release day, the final version will be pushed to the jdk8u repository and source bundles made available.

JBS Filters

Some filters will only work for users that are logged into JBS.

Backports Needing Review

[All Requests]

Standard Fix Requests

[All Requests] [Approved requests] [Approved requests without push] [Unapproved requests]

Critical Fix Requests

[Critical requests] [Approved critical requests] [Approved critical requests without push] [Unapproved critical requests]

Filters for Release 8u302

[Open Downports Oracle -> OpenJDK]

Filters for Release 8u292

[Open Downports Oracle -> OpenJDK] [Additional commits in OpenJDK vs Oracle]

Filters for Release 8u282

[Open Downports Oracle -> OpenJDK] [Additional commits in OpenJDK vs Oracle]

Filters for Release 8u272

[Open Downports Oracle -> OpenJDK] [Additional commits in OpenJDK vs Oracle]

Accelerated 11th elams. schrolls ela classes.

Source code

The jdk8u-dev forest for ongoing development can be cloned using this command: hg clone http://hg.openjdk.java.net/jdk8u/jdk8u-dev;cd jdk8u-dev;sh get_source.sh

The corresponding master forest jdk8u can be cloned using this command: hg clone http://hg.openjdk.java.net/jdk8u/jdk8u;cd jdk8u;sh get_source.sh

Space contributors

{'mode':'list','scope':'descendants','limit':'5','showLastTime':'true','order':'update','contextEntityId':41287720}
Content Tools

Quick guide to download and install OpenJDK 8 on Windows. - OpenJDK Community Version


What is OpenJDK

Openjdk 8


OpenJDK is the short form of Open Java Development Kit similar to Oracle's Java Development Kit used to develop Java Applications. Main difference between Oracle JDK and OpenJDK is that OpenJDK is free for all while Oracle Java Development Kit or Oracle JDK requires commercial license. For more details refer openjdk vs oracle jdk


If you want to know more about OpenJDK, you can go through Open Java Development Kit Quick guide.


Note: To uninstall previously installed OpenJDK please refer Uninstall OpenJDK Windows


Step #1: Download

Openjdk 11


There are many OpenJDK vendors out there in the market, you can download OpenJDK from AdoptOpenJDK, Redhat OpenJDK, Zulu OpenJDK or from Community OpenJDK.
Below are the steps to download and install Community OpenJDK. If you would like to install OpenJDK from other vendors please refer :


Download and install Community OpenJDK


Unlike Oracle JDK or AdoptOpenJDK, community openjdk 8 doesn't provide any executables (windows .exe files ) for easy installation. This might make the openjdk 8 installation on Windows bit difficult for newbies. To install windows openjdk 8, all you have to do is, Download the latest openjdk 8 zip/tar file and unzip to a convenient directory on you windows machine. Set the path to downloaded openjdk 8 bin directory in the Path Variable.

Openjdk 8


Openjdk Download

Here is the step by step procedure to download and install the latest openjdk 8 on Windows 10 / Windows 8 / Windows 7.

Download Jdk 1.8

  1. Go to https://jdk.java.net/

  2. Click on Reference Implementation - OpenJDK 8.


  3. Download the zip / tar distributions based on your operating system
  4. Build 10 (2019/7/16):


    Linux/x64 tar.gz (sha256)
    macOS/x64 tar.gz (sha256)
    Windows/x64 zip (sha256)

    Step #2: Install


  5. Extract the downloaded zip / tar file to your convenient directory.

  6. Example on windows: C:Avinashawstoolsjdk_ri-8u40-b25-windows-i586-10_feb_2015java-se-8u40-ribin


  7. Step #3: Configure


  8. Based on your operating system, set the openjdk 8 bin path in the environment path

  9. On windows follow the below steps to set the openjdk 8 classpath

  10. Copy the extracted openjdk 8's bin path
    C:Avinashawstoolsjdk_ri-8u40-b25-windows-i586-10_feb_2015java-se-8u40-ribin
    Go System Properties and then to Edit the system environmental variables and Click on Environment Variables.

    Edit the path variable

    Add path variable if its not already added and click OK to finish

    Step #4: Verify


    Once the OpenJDK 8 Download and installation is complete, we can verify the installed OpenJDK 8 version using Command Prompt.


    Click on Windows Search Button and type cmd and then click on command prompt shortcut.
    Go to command prompt and type java -version
    The above command prints the OpenJDK 8 version you installed.



    Congratulations !!! Now you have installed OpenJDK 8 Successfully.

    Step #5: OpenJDK Known Issues


    Note: Here is the list of OpenJDK known-issues OpenJDK Known Issues


    Redhat OpenJDK installation, Click here to read more.

    Install RedHat openjdk 8 on Windows 10

    AdoptOpenJDK installation, Click here to read more.

    Install AdoptOpenjdk 8 on Windows 10

    Here is the quick video tutorial that demonstrates how to Download and Install OpenJDK 8 on Windows 10.


    Download OpenJDK - here are the OpenJDK versions you might be interested in!


    OpenJDK 7
    OpenJDK 8
    OpenJDK 9
    OpenJDK 10
    OpenJDK 11
    OpenJDK 12
    If you are looking out for earlier OpenJDK versions, go to OpenJDK Archive

    How to Download and Install Red Hat openjdk 8 on windows


    Unlike community OpenJDK, Red Hat provides OpenJDK build in executable as well as zipped format for easy installation on windows. To install Red Hat openjdk 8 on windows, all you have to do is, Download the latest version of Red Hat openjdk 8 MSI/ZIP file ( example jdk-8u232-x64 ZIP or jdk-8u232-x64 MSI) from Red hat official site. If you have downloaded openjdk 8 MSI, go ahead and install the MSI like any other windows installations and if you have downloaded the ZIP version, unzip the openjdk 8 to a convenient directory on you windows machine. Set the path to downloaded openjdk 8's bin directory in the Path Variable.


    Here is the step by step procedure to install the latest Red Hat openjdk 8 on Windows 10 / Windows 8 / Windows 7.

    1. Go to Red Had openjdk 8 Download page.https://developers.redhat.com/products/openjdk/download

    2. Click on the required version of Red Hat openjdk 8


    3. Download the ZIP windows distributions

    4. Extract the downloaded zip file to your convenient directory.
    5. Example on windows: C:Avitools


    6. Now copy the Red Hat openjdk 8 bin path C:Avitoolsjava-1.8.0-openjdk-1.8.0.232-3.b09.redhat.windows.x86_64bin and set the Red Hat openjdk 8 bin path in the environment path

    7. On windows follow the below steps to set the Red Hat openjdk 8 classpath

    8. Copy the extracted openjdk 8's bin path
      C:Avitoolsjava-1.8.0-openjdk-1.8.0.232-3.b09.redhat.windows.x86_64bin
      Go System Properties and then to Edit the system environmental variables and Click on Environment Variables.

      Edit the path variable

      Add path variable if its not already added and click OK to finish

      Go to command prompt and type java -version
      Java -version
      Congratulations !!! Now you have installed Redhat OpenJDK 8 Successfully.


    How to Download and Install AdoptOpenJDK 8 on windows


    AdoptOpenJDK provides an open and reproducible build and test system for OpenJDK source across multiple platforms. AdoptOpenJDK provides OpenJDK binaries for the Java ecosystem.


    Note: To uninstall previously installed AdoptOpenJDK please refer Uninstall AdoptOpenJDK Windows


    Here is the step by step procedure to install the latest AdoptOpenJDK on Windows 10 / Windows 8 / Windows 7.

    1. Go to AdoptOpenJDK Download page.https://adoptopenjdk.net/installation.html#installers

    2. Click on the AdoptOpenJDK installer packages based on your Operating system.

      • Windows MSI installer packages
      • macOS PKG installer packages
      • Linux RPM and DEB installer packages

    3. Download the ZIP windows distributions

    4. Extract the downloaded zip file to your convenient directory.
    5. Example on windows: C:Avitools


    6. Now copy the AdoptOpenJDK bin path C:AvitoolsOpenJDK8U-jdk_x86-32_windows_hotspot_8u242b08.zipbin and set the AdoptOpenJDK bin path in the environment path

    7. On windows follow the below steps to set the openjdk 8 classpath

    8. Copy the extracted openjdk 8's bin path
      C:AvitoolsOpenJDK8U-jdk_x86-32_windows_hotspot_8u242b08.zipbin
      Go System Properties and then to Edit the system environmental variables and Click on Environment Variables.

      Edit the path variable

      Add path variable if its not already added and click OK to finish

      Go to command prompt and type java -version

      Congratulations !!! Now you have installed OpenJDK 8 Successfully.

      Read Next :