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.
The moose likes Java in General and the fly likes Windows Environment Variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Windows Environment Variable" Watch "Windows Environment Variable" New topic
Author

Windows Environment Variable

Nathan Tran
Greenhorn

Joined: Jun 05, 2001
Posts: 7
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Windows Environment Variable
 
Similar Threads
Installation and configuration for Jboss application server?
Error in run.bat of jboss-4.0.5.GA
Perhaps JAVA_HOME does not point to the JDK..error?
java runtime error.
JRE problem.