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 p

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 tha