New java codes