57 votes
Accepted

netbeans not all requested modules can be enabled

Go to /etc and open netbeans.conf. Note: you can find netbeans_root_folder with ls -l $(which netbeans) Make sure the variable netbeans_jdkhome has the correct value, something like: ...
Minas Mina's user avatar
21 votes

Killing Netbeans

You can use pkill -f 'netbeans' Tested it and it works. pkill --help says this $ pkill --help Usage: pkill [options] <pattern> Options: -<sig>, --signal <sig> signal to ...
Anwar's user avatar
  • 76.7k
18 votes

C/C++ option not available in NetBeans

The answer provided by https://askubuntu.com/users/22949/eliah-kagan did not work for Ubuntu 19.04 with NetBeans 11 since the C++ plugin is not available under "Netbeans Distribution" when I tried it. ...
ScottK's user avatar
  • 291
13 votes
Accepted

How do I install Netbeans 9.0+?

There are basically 3 ways to install Apache Netbeans incubating as described below: Installing using ubuntu-make: Apache Netbeans (incubating) is now available via ubuntu-make. As they say, latest ...
Kulfy's user avatar
  • 17.7k
12 votes

C, C++ and Java IDE for Ubuntu

There's Eclipse available from the repository. You can install it with: $ sudo apt install eclipse Or by the GUI Search of the Ubuntu Software center. A search of the word "IDE" will bring up a ...
L. D. James's user avatar
  • 25.1k
11 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

Ubuntu's repository still has Netbeans 8.1 but JDK 11. So I've downloaded Netbeans 8.2 from Netbeans Website After downloading Netbeans 8.2, follow these steps: sudo apt autoremove netbeans cd ...
Kulfy's user avatar
  • 17.7k
9 votes

C, C++ and Java IDE for Ubuntu

Netbeans supports all three. You just need to configure C/C++ toolchain for that. Check the link for a details instruction: https://netbeans.org/community/releases/80/cpp-setup-instructions.html#...
Anwar's user avatar
  • 76.7k
9 votes

C/C++ option not available in NetBeans

Install the C/C++ plugin in NetBeans. In NetBeans, go to Tools → Plugins. Then in Available Plugins, in the C/C++ category, check the box for C/C++, then click Install to start the installation. ...
Eliah Kagan's user avatar
6 votes
Accepted

How to remove OpenJDK-9 and all related file to JDK

You have it removed. Bash is just telling you, hey, if you want to run java, here are the packages you can install. Try running which java. If no output, then you don't have any JDK installed. You can ...
user41609's user avatar
  • 176
6 votes

C, C++ and Java IDE for Ubuntu

Have a go with Eclipse. It is a very popular and well-supported IDE. It supports many languages, including C/C++ and Java: Just click the hyperlink at the top, and download & extract the ...
You'reAGitForNotUsingGit's user avatar
6 votes
Accepted

Java version problem with Eclipse and NetBeans on 18.04

The current version of NetBeans from the default Ubuntu repositories is 10.0 in Ubuntu 18.04 and later. NetBeans 10 is compatible with either openjdk-8-jdk or openjdk-11-jdk in 18.04. To install it ...
karel's user avatar
  • 115k
6 votes

How do I install Netbeans 9.0+?

Apache NetBeans (incubating) snap package can be installed from Ubuntu Software Center directly. The latest version is 11.0.
Huseyin's user avatar
  • 762
5 votes

Can't using Netbeans 10.0 after installing from repository on Ubuntu 18.04

Check that the java platform was correctly configured when you installed Netbeans. In my case, during the installation process, there was a box for entering the path to the Java SDK, which defaulted ...
Yngvefaen's user avatar
  • 506
4 votes

netbeans not all requested modules can be enabled

Either edit /usr/local/netbeans-X.Y/etc/netbeans.conf to contain netbeans_jdkhome="/usr/lib/jvm/java" Or use the command: /usr/local/netbeans-X.Y/bin/netbeans --jdkhome /usr/lib/jvm/java
Prakash's user avatar
  • 41
4 votes

NetBeans exe files

NetBeans 8.1 is in the default repositories of Ubuntu 16.04. To install it, open the terminal and type: sudo apt install netbeans You can also install NetBeans 8.1 in Ubuntu 16.04 from the Software ...
karel's user avatar
  • 115k
4 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

I was able to get it working by installing and setting JDK8 as default. I followed the instructions on this website: https://linuxconfig.org/how-to-install-java-on-ubuntu-18-04-bionic-beaver-linux ...
Steve Whitford's user avatar
3 votes

After changing to Oracle Java on Netbeans bottom of text is now cut off Ubuntu 16.04

I fixed the issue by changing NetBeans settings. GoTo: Tools -> Option -> Appearance -> Look and Feel and select "Preferred Look and Feel" = Metal (was GTK+ by default) and check "Maximaze use of ...
Mike Bely's user avatar
3 votes
Accepted

Installing netbeans on default user doesn't work but on root does

I've found solution on https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1520743 If you have a similar problem running openjdk 7 or 8 you need to go to: /etc/java-8-openjdk/ <-- different ...
Luke's user avatar
  • 293
3 votes

How can I install the latest Netbeans?

Repository software will always tend to lag behind a little. Adding a PPA often fills the gap and there is a nice one for Netbeans: sudo add-apt-repository ppa:vajdics/netbeans-installer sudo apt-get ...
andrew.46's user avatar
  • 38.1k
3 votes

Where is the java library class files located in file system

1). Inside the JDK installed path goto jre/lib, For instance in Linux the path maybe :- /usr/lib/jvm/java-7-openjdk-amd64/jre/lib 2). Copy the rt.jar in any temporary folder and only then extract it. ...
Suhas Chikkanna's user avatar
3 votes

"Not all requested modules can be enabled" error when starting a new Netbeans project

This problem mostly happens when you use default settings while installing NetBeans. As a result, file netbeans.conf has incorrect location of JAVA_HOME. This issue can be easily resolved when we ...
Priyansh's user avatar
  • 1,051
3 votes

How to add php plugin in Netbeans 8.1 in Ubuntu 16.04 LTS?

Go to Tools -> Plugins. In the Settings tab, ensure that the Update Center is active. Then in the Available Plugins tab, click on Reload Catalog. Hopefully, you will see PHP in the Available ...
Gautam Vashisht's user avatar
3 votes
Accepted

How to uninstall netbeans if uninstall.sh missing

From the commandline run: $ sudo apt remove netbeans Alternatively (using the GUI): Run Ubuntu Software. Type in Netbeans in the search fiend. Click Remove.
L. D. James's user avatar
  • 25.1k
3 votes
Accepted

Netbeans 8.1 on Ubuntu 17.04

The tutorial that you followed to install NetBeans 8.1 is obsolete. Current versions of NetBeans require openjdk-8-jdk, not openjdk-6-jdk or openjdk-7-jdk as recommended in the tutorial. Uninstall ...
karel's user avatar
  • 115k
3 votes
Accepted

netbeans won't display projects window

Netbeans 8.2 only works with Oracle JDK 8, but not with JDK 9. I had the exact same problems. (I think Netbeans 9 will work with JDK9, but it's not out yet.)
Mathias Conradt's user avatar
3 votes

Eclipse install not sees java

Please change: PATH=$PATH:$HOME/bin:$JAVA_HOME/bin export JAVA_HOME export JRE_HOME export PATH To: export JAVA_HOME="/usr/local/jdk1.8.0_151" export PATH=$PATH:$JAVA_HOME/bin And this line in ...
George Udosen's user avatar
3 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

I was able to solve this by running sudo update-alternatives --config java and then selecting the java-8 option rather than the default java-11. You will need to have the java-8 openjdk package still ...
Aidan's user avatar
  • 31
3 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

Same problem with me as well after upgrading to Ubuntu 18.04. Netbeans stopped working. I tried many ways changing the configuration. The primary reason for this problem is java dependency. Netbeans ...
Mukesh Singh Rathaur's user avatar
3 votes

Netbeans does not start on fresh Ubuntu 18.04 installation

Remove Java 11 (which is not compatible with Netbeans 8.2 on Ubuntu 18.xx): sudo apt remove netbeans sudo apt remove openjdk-11-* Install Java 8 and Netbeans 8.2 (Netbeans is about 214MB): sudo apt ...
Olimjon's user avatar
  • 7,292

Only top scored, non community-wiki answers of a minimum length are eligible