In the crowd were clergy from several faiths who said that not all religious leaders condemn same-sex marriage.
Gov. Jon Corzine says he would sign the bill into law if lawmakers can get it to his desk. But he leaves office Jan. 19.
Gov.-elect Chris Christie has said he would veto a gay marriage law.
New Jersey has a civil unions law that gives gay couples the benefits of marriage but not the title.