Learn what's new in Apache NetBeans 11.2 and how to install it on Linux

apache-netbeans

La Apache Software Foundation recently announced the release of the new version of your integrated development environment for the Apache NetBeans 11.2. This being the fourth version prepared by the Apache Foundation after the transfer of the NetBeans code by Oracle and the first version after the transfer of the project from the Apache incubator.

The launch contains support for Java SE, Java EE, PHP, JavaScript and Groovy programming languages. The transfer of C / C ++ support from the Oracle-supplied code base in version 11.3 is expected, scheduled for January. In April 2020, the Apache NetBeans 12 release will form, which will be accompanied as part of an Extended Support Cycle (LTS).

For those who still they are unaware of NetBeans, they should know that this is a free integrated development environment, done mainly for the Java programming language and that also has a significant number of modules to extend it.

NetBeans is a highly successful open source project with a large user base, an ever-growing community.

Main new features of NetBeans 11.2

With the release of this new version of NetBeans 11.2 new features of the PHP language were added, developed in branch 7.4. Also the addition of written properties is highlighted, the operator "?? = », the ability to replace existing matrices when defining a new one, a new mechanism for serializing objects, the ability to display large numbers, and a new format for defining functions.

Another change that stands out from NetBeans 11.2 is the support for Java SE 13. For example, the ability to use «Switch»In the form of an expression instead of an operator.

Se implement highlighting and conversion operations for text blocks They include multi-line text data without using character escape and preserving the original text formatting. The features listed so far have been marked as test and are activated only during assembly with the "–enable-preview" flag;

As well various performance optimizations highlighted: The search speed of binary files in the tree with source texts has been increased.

On Linux and Windows, the WatchServic interfacee provided by the Java NIO2 API it is used to track changes in directories, as well as faster file-to-file identification.

Improved support for the Gradle build system. Added the ability to load Java compiler flags, allowing you to use experimental Java features in Gradle projects.

Also added processing of user input on tab, reflecting assembly progress (Output). When starting the Gradle Daemon background process, the org.gradle.jvmargs property is now taken into account.

Licensing issues for code with the JavaScript parser were resolved because the parser had to be installed separately before. Now the graal-js parser has been transferred from the GPL to the UPL (Universal Permissive License).

How to install NetBeans 11.2 on Linux?

For those who want to get this new version of NetBeans 11.2 They must have at least the Java 8 version of Oracle or Open JDK 8 installed on their system and Apache Ant 1.10 or higher.

Now they must download the source code of the application which they can obtain from the link below.

Once you have everything installed then, unzip the newly downloaded file into a directory of your liking.

And from the terminal we are going to enter this directory and then execute:

ant

To build the Apache NetBeans IDE. Once built you can run the IDE by typing

./nbbuild/netbeans/bin/netbeans

As well there are other installation methods with which they can be supported, one of them is with the help of Snap packages.

They only need to have the support to be able to install these types of packages on their system. To install by this method, you must type the following command:

sudo snap install netbeans --classic

Another method is with the help of Flatpak packages, so they must have the support to install these packages on their system.

The command to perform the installation is as follows:

flatpak install flathub org.apache.netbeans

The content of the article adheres to our principles of editorial ethics. To report an error click here!.

Be the first to comment

Leave a Comment

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

*

*

  1. Responsible for the data: AB Internet Networks 2008 SL
  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.