Removing incorrect test statement
Look at JAVA_HOME before PATH to determine Java executable
Merge pull request #664 from pwendell/test-fix

Removing incorrect test statement