test for java sh