CSS font stacks & developer FAQs with Web standards
Site navigation below

One of hundreds of answers available with our premium content service.

Part answer

A: You can check for programs added to the host system's path environment variable through the java.lang.System class' getenv() method, or getenv(String), provided the application has the necessary security permission. The getenv() method returns a map of all environment variables in the current user session, getenv(String) returns the String value of the variable named by the argument, if it exists. You can extract all the paths in the path environment variable using a StringTokenizer using the system specific path separator as the delimiter, as below.

… full answer hidden

Click for full answers

Premium members click below for full answer
How can I get the path to an installed program?

Home · Web fonts · Font stacks · FAQs · Java · CSS · Javascript · HTML · Site manager