[sr-dev] git:master: Fixed bug with JAVA_HOME detection.