fixes java & maven home