Questions tagged [netbeans-11]

A version of the Apache Netbeans IDE which includes support for Java 12 and Gradle. It was released in March, 2019. Use this tag only for questions that specifically relate to version 11.x of NetBeans. Also, when specifying the "netbeans-11" tag, additionally specify the generic "netbeans" tag to attract a wider audience.

110 questions
0
votes
0 answers

Create New Project from my Java's Templates

I have duplicated and edited the templates "new java class" and "new java main class" in Apache Netbeans 11. My purpose is to have the option to create a new project with my templates. Currently Netbeans creates the project with its own default…
Plouton
  • 53
  • 7
0
votes
0 answers

How to get text from textField in swing and put that text in a query

I tried getting the text into a string variable using the getText() method and then using that string variable in the preparedStatement of JDBC. The application runs without any hiccups but gives a blank output. Connection conn; try{ …
0
votes
0 answers

Unable to open netbeans 11.1 jdk 13

I have installed JDK 13 and NetBeans 11.1 and I tried to open it but it only appears for seconds and then it is closed I tried to uninstall from the control panel but it said that it is running although I do not see it on the task manager! I…
Mona
  • 1
  • 1
0
votes
1 answer

Error running Sample JavaFX Maven in Netbeans 11 due to Unrecognized option: --module-path

I have tried to create a new JavaFX project following this tutorial. https://openjfx.io/openjfx-docs/#install-javafx I also tried the sample project. Finally, note that you can get a similar built-in sample from NetBeans -> File -> New Project...…
Sila Siebert
  • 422
  • 4
  • 10
0
votes
0 answers

I keep getting this error when I run netbeans 11.1 for the first time. Does anyone know the solution to it?

The error that keeps popping up. I don't know what it's talking about. Can anyone help with a solution for this?
user11110238
0
votes
0 answers

Set the maven project in netbeans 11

I installed netbeans 11.0 with jdk1.8.0_172. I tried to set a simple maven project.But there is error below. Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project etobs-ejb: Execution…
aysegulP
  • 443
  • 3
  • 6
  • 18
0
votes
1 answer

How to rename module in NetBeans Modular project?

I use NetBeans 11.0 and Java 11 for my Modular project. How I could rename already created module without deleting any file inside of him? There isn't refactoring for modular projects and modules. Any suggestion would be appreciated. Build tool is…
John
  • 49
  • 1
  • 9
0
votes
0 answers

Impossible debugging a laravel project in netbeans with xdebug

I try to debug a laravel 5.6 project in Netbeans 8.2 or Netbeans 11 but xdebug is not recognized : Waiting for connection ... It works with others PHP projects ! Thank's for your help
Nicolas Alain
  • 105
  • 11
0
votes
1 answer

How to install adminlte on netbeans 11

I have just upgraded from netbeans 8.2 to Apache Netbeans 11 in order to start my first webapp. I would like to use adminfaces and I am stuck. I first used the admin-starter project and cloned it from github. In netbeans IDE I always got the…
RG01
  • 121
  • 1
  • 1
  • 9
0
votes
2 answers

Code Templates does not work in NetBeans 11

I just updated from Netbeans 8.2 to 11 and it seems like Code Templates has stopped working. For example, sout + tab should give a System.out.println(...) and psvm + tab should give a public static void main (..){} Has anyone else encountered…
Plaul
  • 7,191
  • 5
  • 19
  • 22
0
votes
1 answer

netbeans open file in same tab

when I click in on files, each file opens in a new tab. is there any preview mode like VSCode for NetBeans or any plugins. so if I change nothing to the file, same tab use to open the new file.
Oshan Wisumperuma
  • 1,808
  • 1
  • 18
  • 32
0
votes
0 answers

How to set java modules dependency in multiple layers?

Currently I'm checking the range of possibilities of Java module ServiceLoader for my following project. I have (example 1): Application folder (for purpose called FirstApplicationStructure): - MyApp.jar - lib folder for external jars …
John
  • 49
  • 1
  • 9
0
votes
0 answers

How to start modular app created in NetBeans with --module keyword (without using --add-modules)?

After creating modular application in NetBeans 11.0, I'm able to start it with syntax: java -p MODULE_PATH --add-modules MODULES -jar App.jar I would like to start application with: java -p MODULE_PATH -m module[/mainclass] or --module…
John
  • 49
  • 1
  • 9
0
votes
1 answer

Is it possible to use external lib with classpath in NetBeans IDE with modular application?

In NetBeans 11.0 I created Modular project, which uses external modules and libraries. If I copy all external modules and libraries on module path, application works fine, but if I set module path for modules and add regular libraries on Classpath,…
John
  • 49
  • 1
  • 9
0
votes
0 answers

How to solve java.lang.module.InvalidModuleDescriptorException on third party library in Netbeans?

I am in the process of converting a working java 8 project to java 11. I don't want to use module yet (I know there are some advantages, but so far I just want the project to run under java 11). So there is no module-info.java in the project src…
HelloWorld
  • 2,275
  • 18
  • 29