Heat the oven to 350°F and line baking sheets with parchment.
Beat the butter and sugar until fluffy. Beat in the egg yolks and vanilla. Mix in the flour and salt on low until a soft dough forms.
Roll the dough into 1-inch balls and place them 2 inches apart. Press your thumb or the back of a ½-teaspoon measure into the center of each to make a well.
Stir the jam until smooth and spoon about ½ teaspoon into each well.
Bake for 12 to 14 minutes, until the edges are lightly golden. Cool for 5 minutes on the sheet, then move to a rack.