Here's why it's complicated and what you need to consider:
* Engine type: A 1995 Wrangler could have a variety of engines (4.0L inline-six is common, but others existed). A 1987 Comanche likely has a 2.5L four-cylinder or a 4.0L inline-six, but the specific details (even within the 4.0L) will vary. The 4.0L is more likely to fit, but even then, significant modifications might be needed.
* Engine mounts: The engine mounts are different between the Wrangler and the Comanche, even for the same engine type. New motor mounts will absolutely be needed. Custom fabrication might be necessary.
* Transmission: The transmission compatibility needs careful consideration. You'll need to assess if the Wrangler's transmission will physically fit in the Comanche's transmission tunnel and if the output shaft length is compatible with the Comanche's transfer case. You might need a new transmission, driveshaft, or both.
* Wiring harness: The wiring harnesses are different. You'll need to either adapt the Wrangler's harness to the Comanche's system or rewire the entire vehicle. This is a major undertaking.
* Computer system: The engine computer (ECU) from the 1995 Wrangler is unlikely to work directly with the 1987 Comanche's system. You may need to use a standalone engine management system or find a way to adapt the ECU.
* Exhaust system: The exhaust system will likely need to be modified or replaced entirely.
In short: While it *might* be doable for someone with significant mechanical expertise and fabrication skills, it's a complex and time-consuming project. It's far from a straightforward swap. It's advisable to find a compatible engine for the Comanche year, which will significantly reduce the complexity and cost.