如何使用JDK 10安装Netbeans [英] How can I install Netbeans with JDK 10

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

问题描述

我尝试使用JavaHome命令行:

I try the command line with JavaHome:

netbeans-trunk-nightly-201803230002-javase-windows.exe --javahome "C:\Program Files\Java\jdk-10"

它应该有效,但我收到一条消息:

It should work, but I receive a message:


指定位置没有JRE C:\Program Files \ Java @\\\\\\\\\\\\\\\\

There is no JRE at the specified location C:\Program Files\Java\jdk-10

谢谢!

推荐答案


于2018年7月31日更新,以删除过时的信息,并添加详细信息在NetBeans 9的正式版本中。

您正在从Oracle的站点下载NetBeans,因此您不应期望甚至每晚的开发版本也适用于Java 10.

You are downloading NetBeans from Oracle's site, so you should have no expectation that even the nightly dev build will work with Java 10.

Net Beans目前正从Oracle 移交给Apache,并且有一个开发版本可以从这里以zip文件的形式从Apache下载:

NetBeans is currently being handed over to Apache from Oracle, and there is a development build available for download from Apache in the form of a zip file from here:

https://builds.apache.org/job/incubator-netbeans-linux/

您可以在Linux,Mac或Windows上解压缩该文件,它可以与Java 10一起使用。请注意,它尚未正式发布;那几周之后。

You can unzip that file on Linux, Mac or Windows and it will work with Java 10. Just be aware that it has not yet been formally released; that is a few weeks away.

你可以在这里检查错误和/或报告错误:

You can check for bugs and/or report bugs here:

https://issues.apache.org/jira/projects/NETBEANS

更新2018年6月4日

Apache NetBeans 9.0 RC1于5月28日发布。源代码和二进制文件可以从这里下载为zip文件:

Apache NetBeans 9.0 RC1 was released on May 28. The source and the binary can be downloaded as zip files from here:

https://netbeans.apache.org/download/nb90/nb90-rc1.html

更新2018年7月31日

Apache NetBeans 9.0于7月29日发布。源代码和二进制文件可以从这里下载为zip文件:

Apache NetBeans 9.0 was released on July 29. The source and the binary can be downloaded as zip files from here:

https://netbeans.apache.org/download/nb90/nb90.html#_downloading

!!!重要说明!!!

NetBeans 9 正式仅支持Java SE,这意味着:

NetBeans 9 officially only supports Java SE which means:


  • 与NetBeans 8.2相比,Project Wizard受限。例如,它甚至不允许您创建Java Web应用程序。

  • 大多数插件都不可用。解压缩的NetBeans下载甚至不允许您安装Java EE,C / C ++,Fortran,Grails,Groovy,PHP等插件。

但是,启用该功能是一个简单的过程(风险自负)。有关详细信息,请参阅如何让Netbeans 9在Tomcat上部署有效的webapp 的答案。

However, it is a simple process to enable that functionality (at your own risk). See the answer to How to get Netbeans 9 to deploy a valid webapp on Tomcat for details.

有关默认情况下插件不可用的原因的说明,请参阅我最喜爱的NetBeans插件发生了什么?

For an explanation on why the plugins are not available by default see What's Happened to My Favorite NetBeans Plugins?.

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

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