This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Does anyone have sample code for reading and setting a Windows environment variable during application runtime? I have asked my user to set a particular variable. If the variable is not set, then my code should set the default value for said variable. Thanks in Advance, Nathan