Because knowing Java can land you an enterprise job? Or because it can be the springboard to understanding the CS concepts that can be applied in other, more modern languages? Or because that's what their teachers know?