Fix JRUBY-7096 JAVA_HOME value corrupted
Merge pull request #4 from timhayman/master

Fix JRUBY-7096 JAVA_HOME value corrupted.  Thanks for the PR Tim.