Fix java home issue