NetBeans 17 adds support for Java 19 and compatibility with JDK 20


NetBeans is a free integrated development environment, made primarily for the Java programming language.

The Apache Software Foundation recently released the lrelease of the new version of Apache NetBeans 17, in which a large number of changes and improvements have been made.

For those who are unfamiliar with NetBeans, you should know that this it is quite a popular IDE which provides support for Java SE, Java EE, PHP, C/C++, JavaScript and Groovy programming languages.

Main new features of NetBeans 17

In this new version that is presented of NetBeans 17, it is highlighted that added support for Jakarta EE 10 platform y improved support for some new features in Java 19, such as pattern matching in switch expressions.

Another of the changes that stands out is that it has been prepared for compatibility with JDK 20, as well as that it isand added additional suggestions for Java code and that NetBeans' built-in Java compiler nb-javac (modified javac) has been updated to version 19.0.1.

In addition to that, in this new version of NetBeans 17, support for the Gradle build system has been improved, since access to the Java platform was provided for non-Java Gradle projects.

It has also been improved support for the Maven build system, stack trace processing has also been enabled, Java AST presentation when debugging has been improved along with indexing of faulty source texts.

Moreover, the Web project environment has improved CSS support, as it now provides case-insensitive CSS property lookups and optimized matching when filling CSS queries.

The code editor offers the possibility to close all documents in the list at once. ANTLRv4 Runtime has been updated to version 4.11.1 and initial support has been given for ANTLR4 Lexer, to which the code has been translated to work with ANTLR and TOML formats.

Of the other changes that stand out from the new version:

  • Some version history settings have been reworked.
  • Added support for the javadoc @summary tag.
  • Implementation of proxy detection and autoconfiguration.
  • The Gradle tools API has been updated to version 8.0-rc-1.
  • Options have been cleaned up in the interface.
  • Implementation of proxy detection and autoconfiguration.
  • Added a hint to update dependencies.
  • Updated versions of maven 3.8.7 and exec-maven-plugin 3.1.0.
  • Local indexing allowed when loading external indexes.
  • The PHP environment supports new features in PHP 8.2, such as read-only classes, null, false, and true types, and defining constants in traits.
  • Improved support for methods on enum types.
  • Added support for OCI (Oracle Cloud Infrastructure) profiles.
  • Jakarta EE and Java EE support has been implemented for Tomcat and TomEE.
  • When running on Linux, KDE's subpixel text rendering mode is detected automatically.

Finally if you want to know more about it of this new version, you can check the details in the following link.

How to install Apache NetBeans 17 on Linux?

For those who want to get this new version they must download the application source code, which can be obtained from the following link.

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:


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


As well there are other installation methods with which they can be supported, one of them is with the help of the 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 you must have the support to install these packages on your 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.