NetBeans 8.1 激活失败 [英] NetBeans 8.1 Activation Failure

查看:29
本文介绍了NetBeans 8.1 激活失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在我的 Ubuntu 14.04.3 LTS 上安装 NetBeans 8.1.当我尝试创建一个新项目时,它显示一个错误,说并非所有请求的模块都可以启用".我尝试从插件激活它,但无济于事.

I am trying to install NetBeans 8.1 on my Ubuntu 14.04.3 LTS. When I try to create a new project, it shows an error, saying that "not all requested modules can be enabled". I tried activating it from the plugins, but to no avail.

为什么会发生这种情况,我该如何解决?

Why is this happening, and what can I do to resolve it?

推荐答案

我在 Linux Mint 17.2 上使用 NetBeans 8.1 时遇到了同样的问题,我找到了解决方案(在安装过程中选择了错误的 JDK 目录).

I had the same problem with NetBeans 8.1 on Linux Mint 17.2 and I found the solution (during install a have chosen wrong JDK directory).

如果找不到兼容的 JDK 安装,您可能需要通过执行以下操作手动添加到 JDK 安装目录的路径:

If a compatible JDK installation cannot be found, you might need to manually add a path to the JDK installation directory by doing the following:

  1. 在文本编辑器中打开位于 netbeans/etc 目录中的 netbeans.conf 文件.
  2. 为 netbeans_jdkhome 选项输入兼容的 JDK 安装位置.Windows 中的默认位置是 C:Program FilesJavajdk1.7.0_67 或类似位置.
    就我而言:/usr/lib/jvm/java-8-oracle/
  3. 保存 netbeans.conf 文件并运行 netbeans/bin 目录中的可执行文件.

https://netbeans.org/community/releases/81/install.html#install_zip

这篇关于NetBeans 8.1 激活失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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