File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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
JRE problem.
Installation and configuration for Jboss application server?
Error in run.bat of jboss-4.0.5.GA
java runtime error.
Perhaps JAVA_HOME does not point to the JDK..error?