test for java installation