Java returned