[SOLVED] Netbeans: Activation failed: Not all requested modules can be enabled:

If you’ve just installed Netbeans (8.1 in my case) and try to create a Web Project, you might get this:

Activation failed: Not all requested modules can be enabled: [StandardModule:org.netbeans.modules.java.kit jarFile: ….

SOLUTION:

  1. install full JDK
  2. either edit <netbeans-IDE-installation>/etc/netbeans.conf
    1. unmark netbeans_jdkhome
    2. link to JDK location e.g. /usr/local/share/java/jdk1.6.0_07/
  3. or use --jdkhome command-line option e.g. ./bin/netbeans --jdkhome /usr/local/share/java/jdk1.6.0_07/

 

Leave a Reply

Your email address will not be published. Required fields are marked *