NetBeans 8.1 Activation Failure

前端 未结 5 1569
长情又很酷
长情又很酷 2020-12-09 02:51

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\"

相关标签:
5条回答
  • 2020-12-09 03:24

    I had the same exact issues,what I have done is :-1

    1. uninstall net-beans, 2.I already have Oracle Java 8 installed. 3.install net-beans back and make sure to select Oracle Java 8 jdk during the installation .
    0 讨论(0)
  • 2020-12-09 03:29

    Make sure that right JDK directory chosen in the installation wizard if you not sure you can change it from C:\Program Files\NetBeans {netbeans version}\etc you will see a file which is netbeans.conf edit it(I am using Notepad++ for that) At the bottom of the file, you will see a line netbeans_jdkhome="C:\Program Files\Java\{jdk directory you want}" make sure it is valid JDK and it is JDK, not JRE

    0 讨论(0)
  • 2020-12-09 03:30

    1) uninstall Netbeans & download JDK 8 http://www.oracle.com/technetwork/java/javase/downloads/index.html from Here

    2) Extract JDK to /home/username/

    3) Download Netbeans https://netbeans.org/downloads/

    4) Install Netbeans from terminal follow this tutorial

    5) Installation asks jdk location then browse to /home/username/jdk1.8.0_91

    problem solved.....

    0 讨论(0)
  • 2020-12-09 03:40

    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).

    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. 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

    0 讨论(0)
  • 2020-12-09 03:41

    Just in case, I solved this just by commenting out the following line;

    netbeans_jdkhome="/usr"
    

    To

    #netbeans_jdkhome="/usr"
    

    Edit:

    The directory of the above code is inside the file ~/netbeans-8.1/etc/netbeans

    0 讨论(0)
提交回复
热议问题