Does the Java warning pop up?
Does it appear while you are gaming and knock you out of your game?!?
You need to install Java with JDK.
Here is a solution I found. Read more here:
They will send you here, you need to ACCEPT the User Agreement.
Go to the first group,
Java SE Development Kit 8u65.
Go to Mac OS X x64 and click on the link.
Install onto your computer.