Questions tagged [netbeans-14]

NetBeans 14 is a major release of the Apache Netbeans IDE, supporting Java 11 and 17. It also supports development in other languages including JavaScript, PHP, C and C++. It was released on June 17, 2022. Use this tag only for questions specifically relating to NetBeans 14. When specifying the "netbeans-14" tag, be sure to additionally specify the generic "netbeans" tag to attract a wider audience for your question.

13 questions
4
votes
3 answers

NetBeans 14 - Failed to automatically set-up JavaFX Platform

I've been banging my head on this one for ages and all of the tutorials I've found don't seem to work. When I try to create a new JavaFX project in Netbeans 14, using JDK 18 and the latest JFX download for Windows…
Ark
  • 51
  • 4
3
votes
2 answers

How to disable "unnecessary test for null" warning in NetBeans 14?

Short Version How do i disable the "unnecessary test for null" warning in NetBeans 14 IDE? Long Version NetBeans as a well-known bug 1 2 3 4 where it will erroneously tell you that a test for null is unnecessary. For example in the following…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
3
votes
1 answer

Cannot add Glassfish server to Netbeans IDE 14

As the title, I cannot add the Glassfish server to NetBeans IDE 14. I pressed the "Add Server..." menu entry, then on the "Choose Server" screen I selected "GlassFish Server". Then, "Not a valid GlassFish Server installation" is shown. I can click…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
2
votes
0 answers

Specify/fix JDK used by wsimport in Ant build

I've got a NetBeans 14 free-form project using Ant. It utilizes wsimport in its build.xml, and a lot of the targets depend on wsimport. After ending up with several JDKs (at least 1.8 and 17) I'm having trouble building, from wsimport chosing the…
Halvor Holsten Strand
  • 19,829
  • 17
  • 83
  • 99
1
vote
0 answers

Netbeans Background scanning projects loops

I have a problem with Netbeans 15, 14 and 13. The "Background scanning of the projects" process loops between "src/main/java" and "src/test/java". I tried all the solutions in stackoverflow, in particular: Adding the following pattern to "Ignored…
Discipulos
  • 423
  • 8
  • 23
1
vote
0 answers

Netbeans - Generating Entity Class from Database: The target server for the project is not set properly

With Netbeans 14, when creating new Entity Class from Database, I see the following message in the bottom of the wizard screen : The target server for the project is not set properly. Java Persistence features…
Hicham
  • 170
  • 2
  • 16
1
vote
1 answer

Resolve Source file not found for an openide class in Netbeans Platform

I have a large legacy application written in Java 15 with Swing and JavaFX using the Netbeans 14 Platform. So when the application starts, it looks like Netbeans IDE and has the IDE menu items, for this question, the File -> Open File... We are…
AlexHomeBrew
  • 117
  • 9
1
vote
1 answer

How to select Java Profile (e.g. Compact 1, Compact 2, Full JRE) in NetBeans IDE 14?

Short Version In NetBeans under Project Properties → Sources → Source Binary Format, there is supposed to be an option to select a Java Profile: But for me it's missing: What's doing? Long Version Java has the option to run four modes: Compact…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
1
vote
1 answer

How to disable auto-indenting in NetBeans IDE 14?

Short Version How do i disable automatic indenting when i press Enter in NetBeans IDE? Long Version Consider some code, with my insertion caret at the end of the last line: byte[] data; try { data = Base64.getDecoder().decode(s);‸ When i press…
Ian Boyd
  • 246,734
  • 253
  • 869
  • 1,219
0
votes
0 answers

Apache NetBeans 14 and Hibernate

Is it possible to install Hibernate Plugin in Apache NetBeans 14? The trick with swaping 238 freemarker.jar file doesn't work in this particular NB version. I followed instructions for Apache NetBeans 12x…
0
votes
0 answers

Javafx and netbeans 14

I’m currently using java jdk 18.0.2 attempting to make a javafx program, but it says it is not available. I’ve downloaded the libraries and added them manually to my project but that does not work also. Finally I downloaded a jdk off of azul that…
0
votes
0 answers

Unable to add 'json-simple' library in netbeans

I am doing java project in netbeans, i don't know what settings i just changed, now i can't add external library to my project. The option to add library is not visible as i saw in many YouTube videos. How should I add 'json-simple.jar' in my…
Sami3160
  • 11
  • 2
0
votes
0 answers

Target Unreachable, identifier 'XXX' resolved to null - jakarta.el.PropertyNotFoundException

I'm new to Java and tried to follow this tutorial. Since it's outdated, I've made some changes to use newer versions: Netbeans 14 Glassfish 6 Java EE7 Jakarta Faces 3 Mojarra 3.0.1 The tutorial consists of a form where a user submits a message and…
pollirrata
  • 5,188
  • 2
  • 32
  • 50