Depending on if the glass is held in with trim or not, some windows used Butol tape, but most used windshield urethane. Comes in caulking tubes for about $15 per bottle at paint supply stores.
Clean the glass, clean the surface of all old urethane, glue on the car, stick it down, put the trim on.