Pulled out code determining java_home from catch block, potentially hiding exceptions occurring there.
Pulled out code determining java_home from catch block, potentially hiding exceptions occurring there.

HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j