It is not illegal to jump on a free throw in basketball, provided you do not step on or over the designated line before the ball touches the rim. The reason pro players often do not jump is because it is easier to aim and get a successful shot standing still. This takes a lot of power though, so most beginners will need to jump.