NetBeans 8.2, install this IDE on your Ubuntu 18.04

about Netbeans IDE 8.2

In the next article we are going to take a look at installing NetBeans 8.2 on Ubuntu 18.04. As I suppose everyone knows by now, this is an IDE (integrated development environment) available for different platforms. About this program, a colleague already spoke to us in a very detailed way in a previous article.

NetBeans IDE provides users with a very powerful platform that enables programmers to easily develop applications Java-based web, mobile applications and desktops. Many say it is one of the best IDEs for C / C ++ programming. It also provides very useful tools for PHP programmers. The IDE provides support for many languages such as PHP, C / C ++, XML, HTML, Groovy, Grails, Ajax, Javadoc, JavaFX and JSP, Ruby and Ruby on Rails.

The publisher is feature rich and provides a wide range of tools and templates. It is also highly extensible using plugins developed by the community, which makes it suitable for software development.

Network interface
Related article:
Solution: Ubuntu without wired or wifi internet connection

Netbeans it is available in the Ubuntu repositories, so if we want to have a stable version in an easy way, we only have to go to the Ubuntu Software option. Once there we will only have to look for the word Netbeans and press the "Install" button. If on the contrary we want install a newer and custom version, we can do it manually. In this article we are going to see how to install the latest version of NetBeans today, which is 8.2. I am going to do this installation on Ubuntu 18.04, although it can also be done on Debian and Linux Mint.

First of all, we must clarify that to install version 8.2 of Netbeans we need to meet a couple of requirements on our computer. The first is that a minimum of 2 GB of RAM is required. And that we will have to have in our team the Java SE Development Kit (JDK) 8. It is necessary to install this IDE. NetBeans 8.2 does not run with JDK9, and doing so may cause errors.

Install Java JDK 8

A colleague already told us about the installation of different versions of Java on our Ubuntu system. To install the Java 8 JDK version we need, we will first add the webupd8team / java PPA to our system. To do so, we open a terminal (Ctrl + Alt + T) and type:

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

Once our software listing has been added and updated, we will search for packages with the name oracle-java8 as shown below and finish installing:

apt-cache search oracle-java8

sudo apt-get install oracle-java8-installer

If you have more than one Java installed on your system, you can install the oracle-java8-set-default package to set Java 8 as the default:

sudo apt-get install oracle-java8-set-default

Install NetBeans IDE 8.2 on Ubuntu 18.04

Now using your preferred browser, go to the IDE download page and download the latest version from the NetBeans installer.

Fast Ubuntu
Related article:
Speed ​​up ubuntu

Netbeans 8.2 download page

You can also download the NetBeans installer script on your system through the wget utility. To do this we open a terminal (Ctrl + Alt + T) and write:

download Netbeans 8.2

wget -c http://download.netbeans.org/netbeans/8.2/final/bundles/netbeans-8.2-linux.sh

Once the download is complete, in the working directory if we use wget or in the place where we save the download from the browser, we will find the NetBeans installer. Now using the following command, we will make the script executable. Right after we will start with the installation:

chmod +x netbeans-8.2-linux.sh

./netbeans-8.2-linux.sh

Netbeans IDE installer 8.2 installation window

After running the above commands, the installer 'welcome window' will appear. We will click Next to continue (or customize your installation by clicking Customize) and follow the installation wizard.

Netbeans IDE installer license

Then we will have to read and accept the terms in the license agreement. We continue on by clicking Next.

Netbeans 8.2 installation directory

As you can see in the previous screenshot, we will select the NetBeans IDE 8.2 installation folder and the folder in which we have the JDK installed. We continue by clicking Next.

glassfish Netbeans IDE installer

In the screen that we see now, we also select the GlassFish server installation folder. As before, we continue by clicking Next.

Netbeans installation summary

On the next screen, where the installation summary is shown. Here we will enable automatic updates for installed add-ons via the checkbox. Now we will click Install to begin the installation.

Netbeans IDE installation complete

When the installation is complete, we will only have to click on Finish. We can now enjoy NetBeans IDE. We just have to look for it on our computer and click on the launcher.

Netbeans 8.2 launcher

Uninstall Netbeans

uninstall Netbeans

Removing this program is very simple. We will only have to go to the folder that we selected for the installation. Once there we will meet a file named uninstall.sh. This will be the file to run to completely remove the IDE from our team. In the terminal (Ctrl + Alt + T) we will only have to execute, from the folder where the uninstall file is located:

./uninstall.sh

Leave a Comment

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

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   Cesar Barrionuevo said

    Thanks for such a good explanation. It works wonders.

  2.   Cesar G. Rivas said

    Hello, thanks for your contribution, I did all the steps, but when I open the program it does not open any project or any file, or anything else, what can I do about it?

  3.   Damian Amoedo said

    Hello. Try uninstalling Netbeans and download the "All" version. If it still doesn't work for you, try installing another version of Java (and set it as the default on your system). Salu2.

  4.   Nestor said

    Friend install netbeans 8.2 all and it happens to me the same thing runs netbeans but the buttons to create a new project does nothing, it does not open the modules similar to the case of friend Cesar

    Another thing, how can I unpack the JDK that I installed?

  5.   melof10 said

    Hello Nestor, I am going to leave you a video that if you follow him to the letter you will solve the problem, basically it is about specifying in netbeans the version of java with which you are working, that is, the one you have installed in your OS . This I realized that also the same IDE gives you the possibility to specify it in the installation. Here the video:
    https://www.youtube.com/watch?v=GYURxhUDR_0&t=53s

  6.   DresF said

    Hello guys, I stopped by the UBUNTU store and there I found NetBeans.However, an error occurred to me and I went to the web and I found these terminal codes and now I am downloading it 😉
    this is the link :

    http://www.javiercarrasco.es/2013/02/08/no-se-pudo-bloquear-varlibdpkglock-open-11-recurso-no-disponible-temporalmente/

  7.   Gonzalo said

    Thank you friend!

  8.   Mauricio said

    Running the command sudo apt-get install oracle-java8-installer it shows me this
    The oracle-java8-installer package is not available, but some other package references
    to the. This may mean that the package is missing, obsolete, or only
    available from some other source

    1.    viridiana solis said

      hello something like that happened to me, what I did was the following

      apt search jdk
      sudo apt install openjdk-8-jre
      sudo apt install openjdk-8-jdk

  9.   eddy said

    thank you very much.

  10.   Edgar said

    Apache Netbeans already removed Netbeans 8.2