Alright, I've been reading a little more into the different endings and I'm still confused.
Was the shark impalement/Jake dies ending only in test screenings theatrically or was it in the general release theatrical version as well, and was the exploding shark/Jake lives ending shot for the general theatrical release or for the home video version?