This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i am trying to create some environment variables from within my java app.
now i have two probs, 1. how should i create a environment variable from within my app. 2. how should i edit the environment variable value.
now what i have done is, i have created the environment variable manually from withing My Computer and then tried to edit it. i am able to retreive the value and even edit it but surprisingly when i go back to my computer to check the new value, its still the old value.
Properties p = ReadEnv.getEnvVars(); String varLoc = p.getProperty(TEST_VAR);
so my question is how can i edit it in such a way that its reflected in my computer too.
and second question, how can i create an environment variable and even delete it if needed.