JVM heap size issue in openjdk 8.

Ben Evans benjamin.john.evans at gmail.com
Wed Sep 18 08:03:53 UTC 2019


On Wed, 18 Sep 2019 at 00:48, Andrew Haley <aph at redhat.com> wrote:
>
> On 9/17/19 3:43 PM, Pandit (EXT), Vijay wrote:
>
> > Due to some change in Siemens policy I need to use Oracle Open JDK 8.
>
> As the leader of the OpenJDK 8 updates project, I advise you not to do
> this.
>
> Even if you could find it, the original Oracle OpenJDK 8 release would
> be too old to use. It is buggy and has security vulnerabilities. For
> the sake of your organization, I urge you to contact whoever is
> responsible for the above policy and encourage them to reconsider.

I suspect that this is more likely to be a confusion over the term
"Oracle OpenJDK 8".

Vijay - Modern releases of Java (from 9 onwards) have been released as
"Oracle OpenJDK <version>".

However, the product that Oracle shipped as Java 8 was not open
source. It was a proprietary binary built from the OpenJDK source
code. So instead of "Oracle OpenJDK 8", it is just called "Oracle JDK
8".

So you have a choice - you can either use Oracle JDK 8 or OpenJDK 8.
If you want to use Oracle JDK 8, you should contact your Oracle rep
(or look for an old, unsupported version online).

For OpenJDK you have a choice of vendors who can supply you with free
binaries that will be updated regularly for the next 4+ years. A
popular choice is AdoptOpenJDK - the binaries can be downloaded from
here: https://adoptopenjdk.net/

Thanks,

Ben
PS: Oracle did produce an open-source binary, the "reference
implementation", but this was part of the original release, back in
2014. It has never been updated and is certainly not suitable for
production use.


More information about the discuss mailing list