简体   繁体   English

我无法在安装了 TemurinJDK 11 的情况下安装 Apache Netbeans IDE

[英]I cannot install Apache Netbeans IDE with TemurinJDK 11 installed

I cannot install Apache Netbeans IDE with TemurinJDK 11 installed.我无法在安装了 TemurinJDK 11 的情况下安装 Apache Netbeans IDE。 I receive the following msg:我收到以下消息:

Java SE Development Kit (JDK) was not found on this computer.在此计算机上找不到 Java SE 开发工具包 (JDK)。 JDK 8 or newer is required for installing the NetBeans IDE.安装 NetBeans IDE 需要 JDK 8 或更新版本。 Make sure that the JDK is properly installed and run installer again.确保 JDK 已正确安装并再次运行安装程序。 You can specify valid JDK location using -javahome installer argument.您可以使用 -javahome 安装程序参数指定有效的 JDK 位置。

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?您可以尝试在系统变量上设置 JAVA_HOME,这里是从 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.现在在编辑系统变量中,输入变量名称为JAVA_HOME,变量路径为JDK文件夹的保存路径,然后单击确定按钮通常JDK文件的路径为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现在添加以下路径:%JAVA_HOME%\bin

Then retry the installation.然后重试安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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