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

查看:519
本文介绍了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相同的问题,我找到了解决方案(在安装过程中) a选择了错误的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 Files \ Java \ _ddk1.7.0_67或类似。

    在我的情况下:/ usr / lib / jvm / java-8- oracle /

  3. 保存netbeans.conf文件并在netbeans / bin目录中运行可执行文件。

  1. Open the netbeans.conf file located in the netbeans/etc directory in a text editor.
  2. Enter the location of a compatible JDK installation for the netbeans_jdkhome option. The default location in Windows is C:\Program Files\Java\jdk1.7.0_67 or similar.
    In my case: /usr/lib/jvm/java-8-oracle/
  3. Save the netbeans.conf file and run the executable file in the netbeans/bin directory.

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

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

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