Fix JAVA_HOME for root
Merge pull request #4 from hafen/master

Fix JAVA_HOME for root