Error Message
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variables is needed to run this program
Cause
The environment variables for JAVA_HOME or JRE_HOME are not defined .
Workaround/Fix
Set properly the JAVA_HOME variable or/and the JRE_HOME variable.