The mehtod System.getenv() was depricated and afterwards reinstated  in 1.5 

http://javahowto.blogspot.com/2006/09/system-getenv-reinstated-in-jdk-15.htm 
l 

Sun and IBM sdk have a different behavior. 

Concerning following properties
http://java.sun.com/javase/6/docs/api/java/lang/System.html#getProperties() 

Sun sdk returns a value if you query with System.getenv(..) and 
System.getPropertiy whilst IBM sdk returns NULL when querying a Java 
property with System.getenv(...). 

So please, as a rule, use System.getProperty(..) when querying a Java 
property and System.getenv(..) when querying an OS environment variable. 

Otherwise I would always have to create a JIRA, which should not be 
necessary. Thanks 

christian 



------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to