Grease a slice tin (18 x 28cm approx) and line with baking paper, leaving excess on the sides to lift out slice once set.
Pre-heat oven to moderate (180 degrees celsius/355 degrees fahrenheit).
Sift flour into a mixing bowl and then add coconut and sugar. Stir to combine.
Add melted butter and vanilla extract and stir until combined.
Press mixture into slice tin and smooth/even out top with the back of a metal spoon.
Place into pre-heated oven and cook for 15 minutes or until lightly browned.
Allow base to cool for 10 minutes and then spread jam evenly over base.
Beat eggs, sugar, butter and vanilla extract using an electric hand mixer on medium-high speed for 2 minutes.
Add coconut and stir until combined.
Spoon mixture over jam layer and spread out evenly using the back of a metal spoon.
Cook for 25 minutes.
Allow to cool in tin and then remove from tin and cut into squares.
