使用JDK 9.0.1安装NetBeans 8.0.2 [英] Installing NetBeans 8.0.2 with JDK 9.0.1

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

问题描述

当我尝试在PC(Win10-64bit)上安装NetBeans 8.0.2时,出现错误消息:

When I try to install NetBeans 8.0.2 on my PC (Win10-64bit) I get the error message:

尽管我已经安装了JDK 9.0.1,如命令提示符所示:

despite that I already installed JDK 9.0.1, as evident in the command prompt:

我的路径变量设置如下:

My path variables are set as follows:

推荐答案

支持JDK 9的AFAIK Netbeans尚未发行版(即处于开发模式的Netbeans 9.0).

AFAIK Netbeans which supports JDK 9 is yet to release (i.e, Netbeans 9.0 which is in development mode).

文档说明了这一点.

作者:jkovalsky,2017年10月9日

By: jkovalsky, 09 Oct 2017

如果您最近下载了JDK 9,并尝试说服NetBeans 8.2 IDE在其上运行,我们可能会让您感到失望,因为8.2版本并非旨在与JDK 9一起使用.

If you have downloaded JDK 9 recently and try to convince your NetBeans 8.2 IDE to run on top of it we will probably disappoint you, because 8.2 version is not designed to work with JDK 9.

为了愉快地使用JDK 9,您需要从Apache Incubator下载一个NetBeans 9.0开发版本.有关更多信息,请阅读Geertjan Wielenga的使用Apache NetBeans IDE"一文.

In order to use JDK 9 happily you will need to download a NetBeans 9.0 development build from Apache Incubator. For more information please read Geertjan Wielenga's post on Using Apache NetBeans IDE.

谢谢!NetBeans团队

Thank you! NetBeans team

我还遇到了与 Netbeans 8.2 相同的问题(但您正在尝试使用 Netbeans 8.0.2 ).因此,我安装了JDK 8,并且Netbeans安装正常.

I've also faced the same issue with Netbeans 8.2 (but you're trying with Netbeans 8.0.2). So, I installed JDK 8 and the Netbeans installation went fine.

还是要使用JDK 9,您可以将其与JDK 8一起安装.但是您需要在系统路径中将JDK路径设置为JDK 8(就像对JDK 9所做的那样).在安装Netbeans时,选择JDK 8安装路径作为Netbeans的JDK.

Still if you want to use JDK 9 you can install it alongside with JDK 8. But you need to set JDK path as JDK 8 in the system path (like you did for JDK 9). While installing Netbeans select JDK 8 installation path as JDK for Netbeans.

我希望会对您有所帮助.

I hope it'll be helpful.

这篇关于使用JDK 9.0.1安装NetBeans 8.0.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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