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

iphone - Request for member 'uitextfield' in something not a structure or union? -

Cursor error with postgresql, pgpool and php -

c++ - error: use of deleted function -