As an upstanding member of the Jewish community, Jesus would've had to follow the law. The first commandment is be fruitful and multiply: "And G-d blessed them, and G-d said unto them, Be fruitful and multiply, fill the earth and subdue it...".
(Genesis 1:28)
My opinion, and mine alone...