Home > OS >  IntelliJ does not allow to download any older Oracle OpenJDK version except for the latest
IntelliJ does not allow to download any older Oracle OpenJDK version except for the latest

Time:10-10

IntelliJ allows us to install JDK's

Oracle OpenJDK IntelliJ JDK download

However, while the version picker shows all historical Oracle OpenJDK versions, it only seems to provide downloads to the latest OpenJDK version.

As soon as you try to chose version 18, it switches to Amazon Coretto JDK

Amazon Coretto IntelliJ JDK download

I can't use JDK 19, because Gradle does not yet support it, and I'm not sure if I should and want to pick any of the other images.

Is this a bug in IntelliJ or intentional and how can I download older versions from the IDE directly?

Also, is it safe to just pick any of the other images or would they lack some of the core JDK functionality?

CodePudding user response:

Is this a bug in IntelliJ or intentional and how can I download older versions from the IDE directly?

I do believe that not an IntelliJ bug, but the decision/responsibility of JetBrains Co. By default IntelliJ downloads list of available JDKs from https://download.jetbrains.com/jdk/feed/v1/jdks.json.xz, the url is actually controlled by jdk.downloader.url key in registry

CodePudding user response:

is it safe to just pick any of the other images or would they lack some of the core JDK functionality?

The Oracle OpenJDK product is not any better or more special than a Java implementation.

Nearly all Java implementations are built largely, if not entirely, for the codebase develeoped at the OpenJDK project. OpenJDK is an open-source project owned by Oracle with majoe involvement from IBM, Apple, Red Hat, and others. Some of those companies contributed their own code to OpenJDK to centralize development of a single joint implementation of 5e Java specifications.

Oracle’s Oracle OpenJDK product, available at no cost, is simply a build made straight from the OpenJDK codebase. Oracle’s commercial Java product is also largely built from OpenJDK, but Oracle reserves the right to add patches for urgent bug fixes or compatibility tweaks for fast delivery to their paying customers.

You can choose and use a JDK product from any of several vendors. All are well-tested, perform similarly, and share the behavior defined by the Java specifications. Some vendors perform additional testing beyond that done at the OpenJDK project, and therefore beyond that done for OracleJDK. For example, the Adoptium project sponsors an additional testing suite used for their own JDK products, and made available to other JDK vendors.

  • Related