Re: How to run a program in Netbeans 17 with the -D option

2023-04-23 Thread Michael Bien
Tim, I can imagine you are excited about your program, but can you please stop advertising it on the NetBeans mailing lists? every single mail from you attempts to convince people to download it from your page. this is not a platform for advertisements. -mbien On 22.04.23 05:31, Tim de

Re: How to run a program in Netbeans 17 with the -D option

2023-04-21 Thread Tim de Vries
Hello all, If you are in Peter's situation and you need a secondary test application, to verify your code may be correct, there is tecreations Launcher and CommandLauncher. Launcher works with an class path, but prefers /projectDir. Command launcher requires you to specify its' application

Re: How to run a program in Netbeans 17 with the -D option

2023-04-21 Thread Brad K.
Peter -- -D arguments are arguments to the JVM. Under your project's properties is the Run item. (File -> Project Properties and select the Run item). In that UI, put your -Drasberry.camera.enabled=true in the "VM Options" text area. Note: This works mostly only on 'jar' based programs

Re: How to run a program in Netbeans 17 with the -D option

2023-04-20 Thread Antonio
See, for instance: https://stackoverflow.com/questions/39820709/netbeans-8-1-java-how-to-add-command-line-arguments-when-you-want-to-run-java It really depends on the kind of project you're using. For Maven or Gradle projects this is different. Cheers, Antonio On 20/4/23 19:02, Peter

How to run a program in Netbeans 17 with the -D option

2023-04-20 Thread Peter Ivarsson
Hi I want to run my program in NetBeans with the -D option java -jar -Drasberry.camera.enabled=true Peter