Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
49 lines (36 sloc) 2.25 KB
title: Pivotal Distribution of OpenJDK
owner: Spring Cloud Services?
<strong><%= modified_date %></strong>
Pivotal Distribution of OpenJDK is a distribution of [OpenJDK&reg;]( It comes in two flavors:
* Binaries which Pivotal builds directly from the upstream [OpenJDK Mercurial source code repository]( This distribution is the same OpenJDK distribution that has been distributed as part of the Pivotal Cloud Foundry Java buildpack since its inception, but it is now also available for use in Pivotal Container Service, in VMs, or on bare metal via Pivotal Spring Runtime. Platform support for these binaries is limited to Ubuntu Linux.
* OpenJDK builds from [AdoptOpenJDK](, which offer wider platform support including macOS and Microsoft Windows.
## Installation
Pivotal Distribution of OpenJDK is available on [Pivotal Network](
To install the Pivotal-built binaries:
1. Download the latest Pivotal-built OpenJDK binary from [Pivotal Network](
1. Create the directory that will contain the OpenJDK distribution by using the following command:
<pre class="terminal">
$ mkdir openjdk-jre-12.0.0_33
1. Extract the compressed file into that directory by using the following command:
<pre class="terminal">
$ tar -xf openjdk-jre-12.0.0_33-trusty.tar.gz -C openjdk-jre-12.0.0_33
1. Add this version of Java to your PATH by using the following command:
<pre class="terminal">
$ export PATH=$PWD/openjdk-jre-12.0.0_33/bin:$PATH
1. Verify that the Java version is correct by using the following command:
<pre class="terminal">
$ java -version
To install binaries from AdoptOpenJDK, follow the [AdoptOpenJDK installation instructions](
## Support Lifecycle
The following table shows the end of support dates for the currently supported JDKs:
| Version | End of Support |
| OpenJDK 8 | 9/30/2023 |
| OpenJDK 11 | 9/30/2022 |
_Java and OpenJDK are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners._
You can’t perform that action at this time.