some test program for java