Preheat the oven to 350 degrees F. Line an 8-inch square glass baking dish with enough foil so there is an overhang on 2 sides.
Mix the cookie dough with the lemon extract, kneading to combine. With damp fingers, press 2/3 of the dough into the bottom of the prepared baking dish. Spread the jam over the dough. Crumble the remaining dough evenly over the top of jam. Scatter the pecans over top. Bake until browned around the edges and cooked through in the center, about 35 minutes. Let cool in pan. Lift edges of foil to remove the bars. The bars are soft, so carefully cut into 2-inch squares or diagonally into pennant shapes.