Scala (2.11.8), python (2.7), Java (1.8.0_111), spark (1.6.3) are available in /usr/local/
I have amended the "bashrc" for the paths of above folders & sourced it.
When i run "echo $SCALA_HOME" it shows the path correctly.
but for "echo $SPARK_HOME" its a just empty line prints but no error pops & courser moves to next line.
I tried keeping the files in "/usr/local/" folder too, but same result.