Same logic for JAVA_HOME detection as warp10-standalone.sh
Same logic for JAVA_HOME detection as warp10-standalone.sh

StevenLeRoux/warp10-platform,cityzendata/warp10-platform,hbs/warp10-platform,cityzendata/warp10-platform,cityzendata/warp10-platform,hbs/warp10-platform,cityzendata/warp10-platform,StevenLeRoux/warp10-platform,hbs/warp10-platform,StevenLeRoux/warp10-platform,StevenLeRoux/warp10-platform,hbs/warp10-platform