how to configure java for programming