Hi,
New to NB switching from Eclipse for better C++ refactoring. Have the
C++ plugin working okay. I'm on Ubuntu Mate 18.02.
*CppUnit:*
Trying to use CppUnit for testing. Version installed with OS is cppunit
14.x. That version no longer has a cppunit_config which NB requires.
Installing 13.
You can access environment variables using the brace-enclosed environment
variable syntax. Example:
VM options: -Dfoo=${MY_ENV_VAR}
https://stackoverflow.com/questions/21558855/using-environment-variables-in-vm-options-and-program-arguments
On Thu, 8 Oct 2020, 04:34 Greenberg, Gary,
wrote:
Hi Gary,
System.getEnv() will return O/S environment variables.
E.g. System.out.println("Path: " + System.getenv("PATH")); would print my
current PATH variable.
System.getProperty() is what you are thinking of. E.g. adding -Denv=dev to
my VM options in Netbeans, then calling System.out.println("