test for java execution