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

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

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -