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
0
votes
0 answers
java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver on netbeans
I am using netbeans 12 with jdk 17.
On building and running the following code, I get this error and no output is shown:
java.lang.ClassNotFoundException: org.apache.derby.jdbc.ClientDriver
at…

Candy
- 53
- 9
0
votes
1 answer
Netbeans project wouldn't give output
I am using netbeans 12 with jdk 17.
I built and ran the following project, it shows as
org.apache.derby.jdbc.ClientDriver BUILD SUCCESSFUL (total time: 0 seconds)
But the output is not obtained, the code has no errors and this is the only file in…

Candy
- 53
- 9
0
votes
1 answer
Error with txfPassword.setEchoChar((char)0);
I am coding a login UI page which requires users to enter their credentials, however the line of code that is meant to "hide" the characters they enter in the password field is not working. I am coding using Netbeans version 12.1 in java. A copy of…

Panashe Dumbu
- 11
- 1
0
votes
2 answers
repeat number sequence on java
So recently a had an exam to make this simple program on java:
You enter a number, then the program needs to repeat a sequence based on the amount you entered, like this: if it was number 3 it should show 01-0011-000111, as you can see the numbers…

St33v3n
- 39
- 2
0
votes
0 answers
I click on NetBeans icon but just shows me a task bar then it hides, and doesn't open the IDE
I have a problem with NetBeans 12.1 opening, but not showing anything, just opens on taskbar.
I try to delete it and re-install but it still doesn't work. My Java version is 10.0.2.
This is the content of my messages.log file after trying to start…

Rabi
- 21
- 5
0
votes
2 answers
Issues Pulling Request on Github, Nothing to Compare
I just started working on a team project and i have forked the repo which is the main repo, but i guess am missing something in order for me to pull request and i will need assistance...
So i am working on the backend part of the project, spring…

David Ogbodu
- 47
- 7
0
votes
1 answer
Is there a way to automatically edit button's properties in Java JFrame?
I've set following properties for one of my buttons.
try {
name.setIcon(new javax.swing.ImageIcon(ImageIO.read(newFile("./src/main/java/resorces/Default.png"))));
} catch (IOException ex) {
…

ocelix
- 3
- 1
0
votes
0 answers
How to solve following error which I get after trying to generate EXE installer file by using Package as -> EXE Installer in NetBeans?
This might be a duplicate, but even after searching I wasn't able to fix my problem, so that's why I am asking here for help.
I have created Java project in NetBeans 12.5, everything runs fine and compiles when I run it through IDE, the problem…

helloworld
- 166
- 1
- 2
- 9
0
votes
0 answers
Unexpected Exception in Netbeans 12.6
My java version 17.0.2; Java HotSpot(TM) 64-Bit Server VM 17.0.2+8-LTS-86. getting unexpected exception in NetBeans12.6 cannot invoke java.nio.file.path.startswith(java.nio.file.path) because path is null. Before Running the project itself am…

Maqsood Alam
- 27
- 1
- 7
0
votes
1 answer
Netbeans 12 "diff window" does not always highlight added or removed spaces in the code
I upgraded Netbenas 8 to Netbeans 12 and now my diff window does not always highlight added or removed spaces in the code.
It does highlight if spaces was added or removed in the middle of the line (after a non space character), and before a non…

Yevgeniy Afanasyev
- 37,872
- 26
- 173
- 191
0
votes
1 answer
Can't create project on Netbeans 12 with JDK 17
My professor wants us to download NetBeans and a JDK. The problem is that although I can install them both, I cant create a project:
I have tried to open other files as shown below, but they don't run:
Does anyone know how to fix this?
0
votes
1 answer
Netbeans 12.4 Tomcat 10 "View Server Output" grayed out
I'm developing a Java web application using netbeans 12.4 and tomcat 10.
When I try to debug i see in the output window only the output of the compilation and the output of the Tomcat Server log, while the windows of the server output is missing.
I…

user3552867
- 1
- 2
- 4
0
votes
1 answer
"Code is not a valid class" when Pasting image on to Project folder - JavaFX using NetBeans
I am new to JavaFX, I am trying to simply put an image on the stage. However, when I copy and paste it to a separate folder under the source packages, I seem to be getting the error window saying: "code is not a valid class".
I don't know exactly…

Sara Suarez
- 1
- 1
0
votes
1 answer
Java print() not printing until println() NetBeans
I just installed NetBeans 12.6 today, and I'm having an issue with System.out.print() in the code I pasted below. For some reason, the print() in removeValue doesn't print until the println() in the for loop in main. When I ran this code in BlueJ,…

exhausted
- 57
- 6
0
votes
0 answers
org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: java.lang.reflect.UndeclaredThrowableException
Hi it's my first question here in stack overflow, I have a problem with netbeans 12.5 and jakarta ee, I try to create a simple JSF application, but I got an error that I think it's related to the connection with the DB, knowing that I work with…

AmineZouh
- 1
- 3