Sure it's safe, there's no risk in putting jam in baked goods.
It says refrigerate after opening so it doesn't spoil after being left out too long - some people don't realize it needs to be refrigerated after opening because it is stored in the cupboard before opening.
The important thing for food safety is to make sure that the pastries are eaten soon enough after baking.
The cream cheese will go off sooner than the jam will, so don't let them sit around.
cooking.stackexchange.com/users/19707/GdD
Yep.
No problem at all.
This is standard practise for using up left over pastry: jam tarts.
Just be careful to let the jam cool down before you bite into it.
You don't want molten jam all over the roof of your mouth.
cooking.stackexchange.com/users/45140/user45140
Should be safe to heat your jam.
I have reheated jams over the stove but never in the oven and have not encountered any problems with it.
It is always safe to reheat your jam.
Reasons for reheating jams may vary, but be warned: "they may or may not form a gel again once they are re-heated, as over-cooking of pectin can reduce or destroy its ability to form the gel structure."
-National Center for Home Food Preservation.
cooking.stackexchange.com/users/43225/Ken Graham
A traditionally made jam is actually a preserve that has, by the copious amounts of sugar involved and often by natural acidity, some added resilience against spoilage compared to a random ingredient - the practically most encountered spoilage mode for jams is mold.
A "diet" style jam that uses artificial sweeteners and no or little sugar could conceivably spoil in different ways if left in conditions outside of the usual 2 hour/4 hour/danger zone envelope (not an issue in reheating, can become an issue if reheated goods are kept on the table for hours).
cooking.stackexchange.com/users/35312/rackandboneman
Short answer:
Yes, but make sure to eat the pastry before the cream cheese spoils.
cooking.stackexchange.com/users/45154/Aysha
I just got a bottle of strawberry jam. I am trying to make puff pastry filled with Jam and cream cheese inside it.    I have never done this before. It is just an Idea in my mind so far. I need advice to know that can I heat the Jam in oven. The jam jar says to store in fridge after opening but nothing about it being heated. Can anyone explain whether it's safe to do so or not.
Can Jam be reheated?
cooking.stackexchange.com
<oven><jam><puff-pastry>
cooking.stackexchange.com/questions/68359
cooking.stackexchange.com/users/34243/User56756
It is perfectly safe to reheat jams on the stove or in the oven, although you should eat the pastry before the cream cheese spoils. Yes it is perfectly safe to reheat jam.
Yes it is perfectly safe to reheat jam.