I was prompted to install JRE version 8 after upgrading to Yosemite on the family 2010 21" iMac. After I installed it (and checked whether the correct version was installed on the site of Oracle) it prompted that it wasn't installed although it was. I tried just following the steps they gave me to install it, but to no avail. Yosemite still asks to install the JRE on restart.

Does anyone know where the problem is or how I could solve it?