fix path issue for java home