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

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -