Sounds like you have an OBD2 system which us standard for most makes and models past a certain year (96?) - its so the computer knows how effective your cat converter is.
Have a google for that code and "xj cherokee 4.0" and see what comes up.
Also make sure you download a factory service manual for your year model, might have info there for you - link should be in the stickies for this forum.
Good luck and and in future make sure you mention what year and engine in your posts, as well as having a quick search as it may have already been covered in here or on other forums