Hello! I have searched around the web for finding a solution to the Java SE 6 Runtime that cannot be installed and doesn't allow apps to work as suppose. So while searching the web I found different articles about uninstalling it and deleting the newer version...ect. Nothing worked so I thought what if you go the opposite way instead of deleting it you make your apps think that your Java SE 8u45 is your Java SE 6. Well this article finally helped me http://stackoverflow.com/questions/19563766/eclipse-kepler-for-os-x-mavericks-request-java-se-6/19594116#19594116
You will have to change the code and add your version of Java and dont forget to log out and back on!!!
HOPE THIS HELPS!!!