NetBeans 12 is a major release of the Apache Netbeans IDE which adds support for Java 16, Jakarta EE9 and built in support for Payara. It was released in May, 2021. Use this tag only for questions specifically relating to any version of NetBeans 12, such as 12.1, 12.4, etc. When specifying the "netbeans-12" tag, be sure to additionally specify the generic "netbeans" tag to attract a wider audience for your question.
Questions tagged [netbeans-12]
89 questions
7
votes
4 answers
How to get NetBeans 12.0 to launch on Mac (MAC OS 11.0 beta / Big Sur)
On Mac (Big Sur) when I click on the Netbeans 12 icon in the doc it bounces briefly then fails to launch Netbeans.

RobbiewOnline
- 1,350
- 1
- 16
- 36
6
votes
2 answers
How to setup NetBeans IDE for Python Development
I was using PyDev plugin in eclipse for developing python. But now I switched to NetBeans IDE 12.6 and I searched google for finding python plugins for NetBeans. I found a plugin called nbpython.
But it is for NetBeans 8.1 and I am using NetBeans…

Arsh Coder
- 688
- 9
- 33
5
votes
2 answers
How can I solve a Netbeans 12.0 IllegalAccessError?
I just installed Netbeans 12.0. When I started my first project I got an unexpected error message just after creating a new java class. Any suggestions on how I can handle it?
This is the message:
java.lang.IllegalAccessError: superclass access…

user233923
- 51
- 1
- 2
5
votes
5 answers
Cannot use Team -> Git -> Clone wizard in Netbeans 12 to connect to a github repo using SSH
I’m running Apache Netbeans 12 on Windows and I’m really struggling to connect to my github repositories using an SSH connection.
I get the strong impression that this has been a problem for Netbeans users for a long time.
What I’ve tried so far:
I…

DavidHyogo
- 2,838
- 4
- 31
- 48
4
votes
2 answers
Payara Server does not work with Netbeans 12.6 and JDK 17
We are migrating web apps that use java 1.7 here at the company. We then chose to use the latest stable version of JDK 17 and Payara server (we already use Glassfish), however when linking the server on NetBeans the Java 17 LTS platform does not…

Elvis Fabiane
- 43
- 1
- 4
3
votes
1 answer
NetBeans 12.6 does not indent new lines while typing
I used to develop Java in an older version of NetBeans that indents new lines while we are typing, but recently I installed 12.6 version and the behavior changed.
I am expecting that while I am typing and insert a new line, NetBeans automatically…
3
votes
1 answer
Netbeans 12.5 can't install Java ME plugin
Below is what I'm using,
OS: macOS Big Sur
NetBeans: 12.5
Java: 7 / 8 / 17
I'm trying to install Java Me plugin
Upon installation, i kept getting this
I have tried using java 7, 8 and 17 (I'm using jenv to control java version).. Nothing works..…

ramen87x
- 160
- 3
- 18
3
votes
0 answers
Netbeans 12.4 on Ubuntu 18.04: how to set up a new C/C++ project? Where's the documentation?
I've decided to relearn my C/C++ programming skills after not having used them since Borland Turbo C on MS-DOS went out the window. For this purpose I installed Netbeans 12 on Ubuntu 18.04 (including ccls and clangd, the paths to which are set under…

Frank van Wensveen
- 562
- 3
- 20
3
votes
1 answer
How can I change the default SDK for Netbeans 12.2?
When setting up Netbeans 12.2, one part of the installer lets you select the JavaSDK that you'll use as the Default. Is there any way to change this later on, like when a new version of the JavaSDK comes out?

Charlee
- 149
- 1
- 7
3
votes
2 answers
NetBeans 12.0: "Class does not have a main method" (but it does)
NetBeans 12.0
Jdk 15
I cannot launch my program, clicking the green run button doesn't do anything, and right click + run file on MainFrame gives the error "Class does not have a main method". But as you can see in the GIF below, it does have a…

SJ19
- 1,933
- 6
- 35
- 68
2
votes
3 answers
Netbeans 12.6 and 13.0 SQL profiler no longer works for Java 8
I get this error stack when trying to SQL profile a Java 8 project which I don't get on 12.5 and below:
Profiler Agent: Established connection with the tool
Profiler Agent: Local accelerated session
Exception in thread "*** Profiler Agent…

trilogy
- 1,738
- 15
- 31
2
votes
2 answers
Using a project on the WSL2 filesystem with NetBeans
I'm using WSL2 (Windows Subsystem for Linux) Ubuntu 18.04 on Windows 10. I'm also using NetBeans 12.1.
How do I open a project that is located on the WSL filesystem with NetBeans? In Windows Explorer the filesystem is accessible as \\wsl$, but how…

Martynas Jusevičius
- 575
- 1
- 8
- 21
2
votes
0 answers
Difference between server library and registered library in NetBeans
When I do the following:
Right click project
Properties
On the opened window I click Frameworks > Add framework
I can select which framework I can add but I don't understand what is the difference between "Server library" and "Registered…

Pero122
- 892
- 11
- 25
2
votes
1 answer
Netbeans (12x)/Maven include and load embedded resources?
Simple question, how to include and load embedded resources from a Maven based project when using Netbeans 12x
In a traditional/Ant based project, it's possible to simply place embedded resources within the Source Package and load it using…

MadProgrammer
- 343,457
- 22
- 230
- 366
2
votes
2 answers
NetBeans 12.4 - Spring Boot Maven project, debug all test
In a Spring Boot Maven project I have tests with JUnit 5.
Within a test class (annotated with @SpringBootTest) I can select
Test File
Debug Test File
Run Focused Test Method
Debug Focused Test Method
On the project itself (Files window) I can…

neblaz
- 683
- 10
- 32