Update java and path