apache/incubator-storm — pull request #85 by sureshms (2014-04-24 18:08:59+00:00)
Title: STORM-295. Add storm configuration to define JAVA_HOME

Here is a patch that adds support for JAVA_HOME. The patch does the following:
# New file conf/storm-env.sh is added to setup environment. This is where JAVA_HOME is set.
# I moved storm python script to storm.py. A new shell script storm sets up the environment variables and launches storm.py.
# Storm.py now uses java path derived from JAVA_HOME or uses java from PATH if JAVA_HOME is not set.