Re: Accessing Environment Variables

Nicholas Smith <[email protected]> Sun, 13 Feb 2005 13:37:23 -0600
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
On Sun, 2005-02-13 at 12:38 -0600, Patrick Niemeyer wrote:
>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
>

Okay so I actually need to run BeanShell on a 1.5 java to use the
method?  I was thinking beanshell was it's own implementation of java.  

Nick




-------------------------------------------------------
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