|
-
Environmental Variables in Java Program
Can we pull out the environmental variables and their associated value which
are set in the Operating System to our java program?
eg: in one MS DOS window I set,
set xyz="Just For Testing";
set path="c:\jdk1.2.2\bin;
can I read the value of the above 2 environmental variables in a java program
which I execute in the same window?
I tried, System.getProperties(), It returns only some std env variables...
SNP
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks