All java codes