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

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -