From Tel Aviv to Jerusalem (and vice-versa), the fastest way is to move by bus and mini vans. It takes about 40 minutes. In Tel Aviv, take the bus from Arlozorov Bus Terminal. And in Jerusalem, from Central Bus Station.
By train, it takes about 2 hours the way from Tel Aviv (Savidor Mercaz station) to Jerusalem (Malcha Mall station) and vice-versa. As usual in Israel, pay attention to Shabbat, since transportations aren't working. The alternative is to take a mini van from the Arabic side of Jerusalem. That's what I did once.
