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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -