not on the right line in java