Java example main