This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I want to specify something like this when I run a java program from NetBeans: -Djava.security.policy=file:$TAPE_LIB_SIM/config/rmiServer.policy but I have not found a way to get NetBeans to read my TAPE_LIB_SIM environment variable and replace it with the proper string. To work around this for now I have to hard code the path like this: Djava.security.policy=file:/home/billd/projects/motionSimBranch/java/custRel/config/rmiServer.policy This works for me, but when another team member pulls up the same project from source control on their machine, the /home/billd/... path is not valid for them. However, $TAPE_LIB_SIM is set properly on both our machines, so support for env. variables would help us. Please add in support for environment variables for all run options: both arguments and vm options.
I believe env vars are already available using "env." or "Env." prefixes (acc. to whether you want case sensitivity), but can't remember.