简体   繁体   中英

I cannot install Apache Netbeans IDE with TemurinJDK 11 installed

I cannot install Apache Netbeans IDE with TemurinJDK 11 installed. I receive the following msg:

Java SE Development Kit (JDK) was not found on this computer. JDK 8 or newer is required for installing the NetBeans IDE. Make sure that the JDK is properly installed and run installer again. You can specify valid JDK location using -javahome installer argument.

Need help.

You can try setting JAVA_HOME on the system variables, here are steps obtained from the url How to Set Java Path in Windows and Linux?

  1. Go to the Search box and type advanced system settings in it. Now click on the View advanced system settings.
  2. Select the Advanced tab and then click environment variables.
  3. In the system, variables click the New button. Now in the edit system variable, type variable name as JAVA_HOME and variable path as the path where the JDK folder is saved and click on OK button Usually the path of the JDK file will be C:\Program Files\Java\jdk_version_of_jdk.
  4. Now in the system variables go to the path and click the edit button.
  5. Click the New button.
  6. Now add the following path: %JAVA_HOME%\bin

Then retry the installation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM