Create JavaMaxMinProgram