Public java test