No, usually they'll hold an affirmation hearing in the judges chambers or are sworn in under the pains and penalties of perjury, but usually people just swear on the bible because sometimes juries have a lower opinion of you if you don't hold yourself up to some higher standard than your own morals.