Apple Laptop Kernel Panic?

It seems as though whenever I play minecraft, my laptop restarts minutes in, and a message pops up telling me that it had encountered a problem. I think this is a kernel panic problem. Could someone please tell me how to fix this?!

To fix it you will need to determine what is upsetting it and causing a Kernel Panic. From the information provided (you mentioned Minecraft) one might guess that you need to update your Java version…

https://www.java.com/...wnload.jsp

This assumes that you have a full legitimate version of Minecraft.

If that fails you will need to look at the logs in the Console to determine what happened prior to the Kernel Panic…

http://www.macobserver.com/tmo/article/mac_os_x_using_console_to_troubleshoot_problems