updated for java installation