+3 votes
292 views
Install Netbeans Ubuntu 20.04

in Linux / Unix by (552k points)
reopened | 292 views

1 Answer

+4 votes
Best answer

Install Apache NetBeans on Ubuntu 20.04

Apache is one of the platforms that offers us a wide assortment of options to manage various applications and development issues on different operating systems and one of these many options is NetBeans..

 

What is NetBeans
NetBeans is an application that allows us to work on the source code through a syntactic and semantic structure, this includes a wide set of useful and expandable tools to work on the code.

 

Apache NetBeans integrates editors, assistants and templates with which we can create applications in Java, PHP, JavaScript, PHP, HTML5, CSS, which shows us its wide versatility of use. To use Apache NetBeans we have all the operating systems that are compatible with Java (Windows, Linux, macOS and BS), in addition systems like Write Once, Run Anywhere are compatible to use NetBeans.

 

 

When using NetBeans, it is important to mention that each of the characteristics of an application on the NetBeans platform is offered using a different NetBeans module so as not to fall into code or execution conflicts..

 

NetBeans Features
Among the characteristics that we can mention of Apache NetBeans we highlight:

 

  • Full support for the latest Java technologies
  • Simple but comprehensive code editor
  • We can create GUI for Java SE, HTML5, Java EE, PHP, C / C ++ and Java ME applications
  • It integrates static analysis tools, using the FindBugs tool which allows us to identify and solve problems in the Java code
  • Support for multiple languages
  • Multiplatform support
  • It has editors and tools for XML, HTML, PHP, Groovy, Javadoc, JavaScript and JSP

 

 

Let's see how to install Apache NetBeans on Ubuntu 20.04.

 

To stay up to date, remember to subscribe to our YouTube channel!   SUBSCRIBE

 

 

Install Apache NetBeans on Ubuntu 20.04

 

Step 1

We access the terminal and check that Java is installed by executing "java":

 

image

 

Step 2

This will launch all the syntax for using it, now we check Javac with the command "javac":

 

image

 

Step 3

After this we validate the current version of Java in Ubuntu 20.04 with the following command:
 java -version 
image

 

Step 4

To check that NetBeans is not installed, we execute "netbeans":

 

image

 

Step 5

As we can see, it is not installed and we have two installation options, with the snap package manager and with apt, in the case of Snap this will install the most recent version, therefore, we are going to use that by executing the following:
 sudo snap install netbeans 
image

 

Step 6

We can see that when executing it an error is generated due to the way the NetBeans snap was packaged, in this case to use it correctly we add the line “—classic”:
 sudo snap install netbeans –classic 

image

 

Step 7

This will lead to the process of downloading the components:

 

image

 

 

Step 8

When this process has come to an end we will observe the following. We see that Apache NetBeans 12.1 has been installed.

 

image

 

Step 9

We go to Activities and from there we access NetBeans:

 

 

image

 

 

Step 10

Clicking there will launch the Apache NetBeans application:

 

image

 

Step 11

When fully loaded we will see its environment:

 

image

 

 

Step 11

We will create our project from the File - New Project menu or using the following keys:

 

Ctrl + Shift + N

 

 

 

image

 

Step 12

The following will be displayed:

 

image

 

 

Step 13

We click Next and then we will observe the following:

 

image

 

Step 14

There we must activate Java SE, for this we click on the button "Download and Activate", another pop-up window will open:

 

image

 

 

Step 15

We click Next and in this window we must accept the license terms:

 

image

 

Step 16

After this we click on "Install" to proceed with the activation of Java SE:

 

image

 

 

Step 17

At the end we will see the following:

 

 

image

 

Step 18

We click on Finish and we will be redirected to the NetBeans window:

 

image

 

Step 19

This is responsible for activating Java SE and once the process reaches its end we will see the following:

 

image

 

Step 20

There we find details such as:

 

  • Project's name
  • Route where you stay
  • Project folder
  • ID
  • Group id
  • Version
  • Used packages

 

Step 21

We can change the name of the project as the case may be:

 

image

 

Step 22

We click on Finish to finish creating the project:

 

image

 

Step 23

At the end we will see our project created:

 

image

 

Step 24

We can click on the project to see its structure:

 

image

 

Step 25

By right clicking on the project, a series of options will be displayed, such as:

 

  • Run the project
  • Build sublevels
  • Run tests
  • Run the Java Shell
  • Rename the project and much more

 

 

 

image

 

With Apache NetBeans we have a powerful solution at hand to create projects in various languages ​​in a structured and secure way..

 


by (3.5m points)

Related questions

+5 votes
1 answer
asked Oct 6, 2020 in Linux / Unix by backtothefuture (552k points) | 898 views
+4 votes
1 answer
asked Sep 29, 2020 in Linux / Unix by backtothefuture (552k points) | 1.4k views
+3 votes
1 answer
asked Sep 28, 2020 in Linux / Unix by backtothefuture (552k points) | 505 views
+4 votes
1 answer
asked Sep 28, 2020 in Linux / Unix by backtothefuture (552k points) | 459 views
+5 votes
1 answer
asked Sep 28, 2020 in Linux / Unix by backtothefuture (552k points) | 1.9k views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users