You can use special wax discs on the surface of the jam to help reduce the exposure of the jam to air. Some people also suggest a thin layer of an alcoholic spirit (eg whisky) can be poured on the surface of the jam to reduce the chance of the jam spoiling, though we have not tested this method and it may not be suitable for everyone to eat.