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

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

问题描述

我尝试使用 JavaHome 命令行:

I try the command line with JavaHome:

netbeans-trunk-nightly-201803230002-javase-windows.exe --javahome "C:Program FilesJavajdk-10"

它应该可以工作,但我收到一条消息:

It should work, but I receive a message:

指定位置 C:Program FilesJavajdk-10 没有 JRE

There is no JRE at the specified location C:Program FilesJavajdk-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.

NetBeans 目前正从 Oracle 移交给 Apache,并且可以从 Apache 以 zip 文件的形式从此处下载开发版本:

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 相比,项目向导受到限制.例如,它甚至不允许您创建 Java Web 应用程序.
  • 大多数插件不可用.NetBeans 的解压下载甚至不允许您安装 Java EE、C/C++、Fortran、Grails、Groovy、PHP 等插件.

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

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天全站免登陆