NetBeans 12.2 arrives with support for new features in Java, PHP and more

NetBeans 12.2 has already been released and in this new version, the Apache Foundation announced that NetBeans 12.2 that mainly provides support for new features specific to JDK 14, JDK 15, and PHP 8.

For those unfamiliar with NetBeans, you should know that is an IDE (integrated development environment) for Java, whose main objective is to accelerate the construction of Java applications, including web services and applications for mobile devices.

In addition to the standard functionality of the tool, it is also possible to extend it with support for C and C ++ programming languages, support for the creation of applications in SOA architecture, the use of XML and XML schemas, BPEL and Java Web Services or modeling UML. The NetBeans Profiler extension allows you to track the CPU usage and memory usage of a given application.

On the other hand, NetBeans Mobility Pack adds a debugger to the NetBeans environment that allows you to monitor the execution of mobile programs.

NetBeans is written in Java, which makes it very flexible and it can be run on various system platforms (Windows, Linux).

About NetBeans 12.2

The new version of NetBeans 12.2 arrives shortly after two months of the release of version 12.1. ANDThis new version adds several new features to the open source IDE and makes some updates to the various libraries.

This includes support for Java features specific to JDK 14 and 15, the addition of the Java Editor and the Java Debugger in Visual Studio Code (VS Code), new features for JavaFX and Java Web, and more.

In addition, support for PHP version 8 is addedAs a result, NetBeans users now have a number of new features at their disposal, including join types, the Nullsafe operator, and the static return type. Support for Oracle Jet, which was long superfluous, has now been removed for good.

It was also mentioned that the creation of new classes, interfaces and enums was provided by pasting the text from the clipboard.

On the part of Java web development tools, it is mentioned that Support for the Spring 5.2.9 MVC framework has been improved. In the dialog for editing web project properties, URL saving with relative links has been adjusted. The Derby integration has been removed from the Payara Server modules. 

Of the other changes that stand out of this new version:

  • The JavaFX support code has been extended to support immutable objects.
  • Added support for new PHP 8 functions.
  • Cleaned up dependencies and infrastructure for JavaScript and HTML functions
  • The javac compiler is limited to a single instance.
  • Improved dependency handling for JavaScript and HTML.
  • Obsolete support for Oracle JET has been removed.
  • Improved CSS3 support.
  • Updated versions Ant 1.10.8, exec-maven-plugin 3.0.0, Gradle Tooling API 6.7, JDBC PostgreSQL 42.2.16, payara-micro-maven-plugin 1.3.0, Spring Framework 4.3.29, TestNG 6.14.3.
  • Detection of JDKs installed with SDKMan and Debian was provided.
  • Individual debugging and execution enabled when the Gradle project provides the appropriate task.

How to install NetBeans on Linux?

For those interested in being able to install NetBeans on their Linux distribution, they can do so by following the instructions we share below.

One of the ways to install this IDE on Linux is by downloading the installer and running it. The only requirement is to have Java installed.

Now we simply have to obtain the installer 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

Another installation method is with the help of Flatpak packages, so we only have to have the support to be able to install this type of package in our system.

The installation can be done from a terminal by typing the following commands:
flatpak install --user https://flathub.org/repo/appstream/org.apache.netbeans.flatpakref


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.