set java home from the variable