I've studied the jam making on this forum and worked out that firstly I had too much water and secondly only cooked it for ten minutes also that some pectin might help. I picked a cooking apple, cut it into small pieces, placed it into the jam and boiled it all for forty minutes and its now perfect so thanks to those who gave me interesting advice.