Not sure, Pamela, it's years since I've tried this myself and I can't remember what worked (but something did). If those yellow ends aren't turning brown or rotting, they should be fine. Just keep an eye on them. But do get them out of that narrow neck bottle!
If you want to try rooting one in potting soil, I would try both ways - take the longest cutting, cut maybe 4in. off the bottom and lay it on top of some damp potting soil, then take the rest of the cutting and stick it in a pot of soil, staking it to stay upright if you need to. Keep them damp, and in the shade, and see if they will root that way. Leave the other cutting in a jar of water, and see who roots first. You'll be able to tell if the ones in the potting soil are rooted when they start making some new leaves.