java - Eclipse environment variables -
i use eclipse. set project environment variables. can java code system.getproperty("some_var")
?
how can environment variables java code in eclipse?
system.getproperty(string propertyname) - method used getting properties , not environment variables.
to environment variable can use system.getenv(string envname) method.
first link in google leads http://blog.codebeach.com/2008/02/get-environment-variables-in-java.html
Comments
Post a Comment