added update-alternatives for java