To be precise about the distances:
NBA line is 23 feet and 9 inches as measured from the center of the hoop (not the end line) to the peak of the 3-point line that is directly behind the top of the key, or 23 feet from the front of the rim to the line. From the corner, it's 22 feet from the line to the center of the hoop.
Can't make the line 25 feet away in the corners because the sideline is 25 feet from the center of the hoop. (In other words, the width of the court is 50 feet.)
NCAA men's line is 20 feet and 9 inches away from the center of the hoop, or 20 feet from the rim.
At 25 feet, I think many NBA shooters would adjust to shooting as well as they do from 23-9, but college players in general would shoot poorly from 25 feet.
Obviously if you put the line at 30 feet you'd have only Steph Curry and a few others regularly taking 3s.
But between the NBA line and the NCAA line, the most important thing affecting shooting percentage, by far, is not the distance, but whether the shooter is open. One of the highest percentage locations for jump shots is the corner 3 for two reasons: The shooter is more likely to be open there, and the guys who shoot from there tend to be good shooters. Poor outside shooters don't stand in the corner waiting for passes.