The latest Apache Netbeans
Netbeans is like the child nobody wants. From a student project (1996) to a payed sofrware (1997), it was bought by Sun Microsystems (1999), which in turn got acquired by Oracle (2010), it was eventually donated to the Apache Software Foundation (2016). Apache started the
Netbeans Incubator project, where a huge community effort took until 2019 to turn it into Open Sourced Software.
Netbeans version 8 was the last major release under Oracle's name. Then under the Incubator project came versions 9, 10, 11 and 11. Finally version 11.1 was the first official Netbeans release. At the time of writing we've seen even more releases: versions 12, 13 and 14.
We've made a simple script that simply downloads the latest Netbeans version and executes the installer.
Netbeans and Snap: I don't like Snaps…
Really don't like Snaps, it's an invention to patch a dependency problem, which shouldn't have to be a problem at all, especially not with Java. So, use the instructions below to properly install Netbeans, or if you really must use the Snap instructions from below:
- Latest stable release:
sudo snap install netbeans --classic
- Earlier release by version:
sudo snap install netbeans --channel=12.0/stable --classic
Netbeans 11 LTS (update 2019-12-11)
According to the release schedule, version 11 is a stable release with Long Term Support. Feature releases are 11.1, 11.2. Refer to the release page for the latest versions. available.
Netbeans 9, 10 and 11 obsolete (update 2019-04-04)
Netbeans versions 9, 10 and 11 are all released under the
Incubator flag. Since version 11.1 is not an
Incubator release, versions before are obsolete.
The previous article where I explained how to install Netbenas 9.0 therefore is even more obsolete.
Manually installing the latest Netbeans
When you go to the Netbeans Release Log, you'll find the latest release on top of the page. Optionally you can find earlier versions too.
It's simply a matter of downloading the Binaries-zip and extracting it.
There used to be .sh files (which are executable and self-installing), but these are no longer available. You can use community provided dpkg files instead.
Installing the latest Netbeans using Bash
Below two bash functions
remove_netbeans, which you can add to a separate script, add to your
~/.oh-my-zsh/custom/aliases.zsh. Then, when you open a new terminal you can simply type
install_netbeans to get the latest version, or
install_netbeans to choose a version. To remove a version use
After Netbeans installation
If you have a previous version of Netbeans installed, it will ask you to import settings from that version, which I strongly recommend you to do to not break your workflow.