Heart attacks are so common. Another reason developers should watch and track their health (not saying Jim wasn't healthy). All the pizza and sugary caffeine drinks I've consumed just to keep coding probably wasn't smart.
He likely wasn't healthy; you just have to look at a picture of him to see that he was at least 50 lbs overweight (if not more). That much extra weight will increase your risk of heart attack significantly.