|
From: <Jas...@sc...> - 2004-11-24 12:03:52
|
Hi, First off, kudos for such a useful library! I have a service which handles requests (jobs) from other machines - a distributed build process. My problem is that it needs to know what "tools" (compilers, SDKs) are installed locally, which requires the service to check for the existence (say) of %SDK_HOME%/sdk.h or %APP%/bin/app.exe System.getenv() is causing a java.lang.Error in the service, but not as an application. Checking the docs it seems to imply that getenv is deprecated, but this does not appear to be true going by the javadoc: http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html#getenv(java.lang.String) These variables may not be known at run-time and are subject to change and so I would rather not have them hardwired into each client via properties... Any thoughts? Jason Chown Head Programmer SCEE Studio Liverpool ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify pos...@sc... This footnote also confirms that this email message has been checked for all known viruses. ********************************************************************** Sony Computer Entertainment Europe |