Re: Accessing Environment Variables

Patrick Niemeyer <[email protected]> Sun, 13 Feb 2005 12:38:39 -0600
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
On Feb 13, 2005, at 12:09 PM, Don Schwarz wrote:

>> java.lang.Error: getenv no longer supported, use properties instead:
>> PATH at java.lang.System.getenv(java.lang.String)
>>
> The getenv() methods are back in Java 1.5.  Java 1.3 and 1.4 will
> throw this exception.

I should have mentioned the version.  But I didn't know it actually 
threw Error on older verions... I thought it was just deprecated.


Pat



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click