How to Solve Error Message The specified JDK folder contains JDK version “2724.0.0.0.0”, while the maximum is “500.0.0.0” on installing NetBeans IDE

Posted on

Introduction

This is an article where the main focus is to discuss on solving an appearance of an error message.  The error appearance is in the installation process of NetBeans IDE. In a specific part or step, there is a need for specifying the JDK or the Java Standard Development Kit for further usage by the NetBeans IDE. After selecting or pointing the setting for the location of the JDK or the Java Standard Development Kit, it generates an error message. The error message appear in the window dialog setting as follows :

How to Solve Error Message The specified JDK folder contains JDK version "2724.0.0.0.0", while the maximum is "500.0.0.0" on installing NetBeans IDE
How to Solve Error Message The specified JDK folder contains JDK version “2724.0.0.0.0”, while the maximum is “500.0.0.0” on installing NetBeans IDE

Before going ahead with all the solution, the following is the actual condition triggering the error message :

  1. First of all, the JDK or the Java Standard Development Kit version. It is very important because in a certain step, NetBeans IDE will need it. Originally, it is using the JDK with the version of JDK 17 available in this link.

  2. Next, the installer file of the NetBeans IDE used in the installation process. Actually, it exist in this link. It is an installer for Windows 64-bit version where in that page, currently exist the installer file with the name of ‘Apache-NetBeans-12.2-bin-windows-x64.exe’.

Solution

So, the main problem which is triggering the error message appear in the middle of the NetBeans IDE is the JDK version. Specifically, the current version of the Java SDK chosen for the NetBeans IDE installation is not compatible. The current version available is the JDK 17. In order to solve it, just choose another version which is going to be compatible with the NetBeans IDE. It also appears in one of the Stackoverflow article or post in this link. So, the following are the steps for solving it :

  1. Uninstall the current version of the available JDK or the Java Standard Development Kit version. That is being said, it is uninstalling JDK 17 version. According to the article in the Stackoverflow article, the solution is by changing the JDK version into JDK 8 or JDK 11 (Recommended because they are LTS). Furthermore, using JDK 14 is also possible.

  2. Soon after, install the JDK other version which is compatible with NetBeans IDE. It is a version with 12.2. The JDK 14 version is available in this link for further download. It is a zip file with the name of ‘openjdk-14+36_windows-x64_bin.zip’. Just extract it and there will be a folder with the name of ‘jdk14’. In this example, the ‘jdk14’ folder location is stored in the ‘C:\app\jdk14’. Just extract it to any places accordingly.

  3. Finally, run the NetBeans installation again. In the step for setting the JDK for the NetBeans IDe usage, just set it to the JDK 14 location as in the following image :

    How to Solve Error Message The specified JDK folder contains JDK version "2724.0.0.0.0", while the maximum is "500.0.0.0" on installing NetBeans IDE
    How to Solve Error Message The specified JDK folder contains JDK version “2724.0.0.0.0”, while the maximum is “500.0.0.0” on installing NetBeans IDE
  4. Click the Next button and proceed the NetBeans IDE installation. If there are no further error, the NetBeans IDE installation will end in a success.

Leave a Reply