[GSS](6.4.z) On Windows, when running standalone/Domain with the JAVA_HOME environment variable set (but pointing to an empty directory), JBoss EAP fails to start and does not give an error message.
DescriptionDurgesh Anaokar
2017-06-08 07:11:12 UTC
Description of problem:
On Windows, when running standalone.bat with the JAVA_HOME environment variable set (but pointing to an empty directory), JBoss EAP fails to start and does not give an error message.
Version-Release number of selected component (if applicable):
How reproducible:
every time in windows environment.
Steps to Reproduce:
1. Set the JAVA_HOME to a valid but empty directory on the system
2. run standalone.bat/domain.bat.
Actual results:
EAP will stop without giving any warning message
Expected results:
A warning about the java.exe should come in logs
Additional info:
Add additional checks in the standalone.conf/domain.bat to verify that %JAVA_HOME%\bin\java exists and warn if it does not.