JAVA SET ENVIRONMENT VAR AND SET TO PATH WIN 7 code example
Example: gat environment variables java
String environmentVariable = System.getEnv("environment_variable_name");
//You can create environment variables on your computer manually
//and then you must put the environment variable in the parantheses as a String