Location of oil sensor

Can anyone please tell me where the oil pressure sender is on my 2012 xj diesel. Many thanks

Mine is not diesel, but probably in the same place as mine, in the oil pan !! Make sure to hear the click when installing to make sure the connection is good.
best
Ken