NetBeans 12.0 comes with new dark modes, improvements for TypeScript, PHP 7.4, Java 14 and more

apache-netbeans

The new version of the popular IDE NetBeans 12.0 is already among us and the Apache Software Foundation Organization recently announced its release and availability. This is the sixth version prepared by the Apache Foundation after the transfer of the NetBeans code by Oracle.

This release of Apache NetBeans 12 is mainly characterized by arriving accompanied by an extended support cycle (LTS).

For those unfamiliar with this IDE, you should know that it provides support for the Java SE, Java EE, PHP, JavaScript and Groovy programming languages. In addition to its features, there is a project system based on Ant, version control and refactoring.

What's new in NetBeans 12.0?

In this new version of the IDE, it is mentioned in the announcement that the expected C / C ++ language support has been again postponed to the next version, and it is that although the transfer of the Oracle code related to the development of projects in C and C ++ was completed during the preparation of the last version, the integration of this code in NetBeans required more time than expected.

With which could not transfer this feature natively, even developers can install through "Plugin Manager" modules.

As for the news, we can find the support for Java SE 14 platform, which this includes syntax highlighting and code formatting for builds with the new keyword "record".

In addition, the compatibility test for pattern matching on the "instanceof" operator continued.

As for the features from Java 13, in NetBeans 12.0 support is included for converting formatted multiline text blocks without character escaping, in the code editor a set of lines can now be converted into similar text blocks and vice versa.

Of the Java 11 features, support for the start mode of programs delivered as a single file with source code is noted.

Another feature is the added support for Java EE 8 with the ability to build web applications using Maven or Gradle.

Java EE 8 applications created by NetBeans can be deployed in a Java EE 8 container using the new Maven template webapp-javaee8 created for use with NetBeans.

For Maven, integration with the JaCoCo library has been established and the ability to pass arguments from the Maven Java compiler to the Java code editor has been provided.

Added support for modular Java projects and support for JavaEE for Gradle. Gradle Tooling API has been updated to version 6.3. A new Java Frontend application wizard is proposed for Gradle, in addition to added support for debugging Gradle Web and Kotlin Gradle projects.

Of the other changes that stand out:

  • TypeScript language support has been added to the code editor.
  • Improved support for HiDPI displays and the simplified HeapView widget.
  • Added additional dark interface display modes: Dark Metal and Dark Nimbus.
  • Added support for new features in PHP 7.4.
  • A new FlatLaf theme has been proposed.

If you want to know more about it you can consult the following link.

How to install NetBeans 12.0 on Linux?

For those who want to obtain this new version, 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!.

2 comments, leave yours

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.

  1.   Mark said

    Thanks for the post.

    In the installation part, the link to the application code points to version 11, not the 12 that is being talked about.

    The link is this: https://netbeans.apache.org/download/nb120/nb120.html

  2.   Mark said

    There is also another installation method, which is to download the sh script that they provide and run it directly in terminal with administrator permissions.