To do the swap, you will have to completely swap the wiring harness including the one under the dash unless you want to spend a ton of time patching. You will need to swap the fuel pump, tranny, engine mounts. Don't know about a 2.5L in an 89, but in an earlier XJ, the whole front sheetmetal is different between the 2.5L and the 4.0L. You may get by with just the radiator support since yours is an 89. I did a 2.5L to 4.7L stroker swap on an 85XJ. Sure is fun to drive, but you would be time and money ahead to find a 4.0L rig and buy it, then sell your 2.5L.