java - How do I know where "Program Files" are? -


i'm working on custom installer / launcher in pure java. how can tell path "program files" or equivalent?

by calling following:

system.getenv("programfiles"); 

will give path of programfiles folder in windows operating system.


Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -

c# - Binding attached property to IEnumerable -