Preheat oven to 350 degrees.
Combine flour and 1/4 cup sugar. Cut in butter finely. Press into bottom of lightly greased 9-inch square cake pan.
Spread jam over base. Beat eggs; beat in 1 cup sugar, soft butter and vanilla. Stir in coconut.
Spread over jam layer.
Bake for 30 minutes or until faintly browned.
Cool and cut into small squares.