ARGUS-161:Ranger install scripts should refer JAVA_HOME for java

Signed-off-by: sneethiraj <sneethir@apache.org>