JDK 11的Netbeans安装程序问题 [英] Netbeans installer issue with jdk 11

查看:186
本文介绍了JDK 11的Netbeans安装程序问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载并安装了jdk 11,现在正尝试安装netbeans 8.2.但是我收到一条错误消息,指出在此计算机上未找到JAVA SE.请确保正确安装了JDK,然后再次运行安装程序.您可以使用--javahome installer参数指定有效的JDK位置."

I downloaded and installed jdk 11 and am now trying to install netbeans 8.2. But i get an error which states "JAVA SE was not found on this computer.Make sure JDK is properly installed and run installer again. You can specify valid JDK location using --javahome installer argument."

我创建了一个JAVA_HOME变量,并将其值设置为"C:\ Program Files \ Java \ jdk-11.0.1 \ bin",并对PATH变量也设置了相同的值. 我该如何解决?

I created a JAVA_HOME variable and set the value to "C:\Program Files\Java\jdk-11.0.1\bin" and set the same value for PATH variable as well. How do i fix this?

推荐答案

您遇到了两个问题:

  • NetBeans 8.2需要JDK 8,它不适用于Java> 8的任何版本.
  • NetBeans尚不支持JDK 11,尽管即将发布支持NetBeans 10的新版本.

最简单的方法是删除JDK 11(除非出于NetBeans的其他原因需要它),安装Java 8,然后重新安装NetBeans 8.2.曾经可以下载与Java 8捆绑在一起的NetBeans 8.2 ,但是如果您尝试这样做,那么Oracle将会将您重定向到Apache NetBeans 9.0网站.

The easiest approach would be to remove JDK 11 (unless you need it for other reasons apart from NetBeans), install Java 8 then reinstall NetBeans 8.2. It used to be possible to download NetBeans 8.2 bundled with Java 8, but if you try that now Oracle will just redirect you to the Apache NetBeans 9.0 web site.

有一个比8.2更新的NetBeans版本, Apache NetBeans 9.0 .尽管它支持Java 9和Java 10,但它也不支持Java 11.

There is a newer release of NetBeans than 8.2, Apache NetBeans 9.0. While it supports Java 9 and Java 10, it also does not support Java 11.

已更新以反映NetBeans 10已于2018年12月27日发布:

如果您真的想将Java 11与NetBeans一起使用,则可以

If you really want to use Java 11 with NetBeans you can download the latest Jenkins build of the beta version of NetBeans 10 at your own risk.

如果您想将Java 11与NetBeans一起使用,请下载NetBeans 10.0 .该下载文件是一个zip文件,可以在所有平台上使用.

If you want to use Java 11 with NetBeans then download NetBeans 10.0. The download is a zip file and it works on all platforms.

这篇关于JDK 11的Netbeans安装程序问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆