I installed the Java 8 Runtime Environment which overwrote Java 6 obviating any necessity to remove it. I did have an application that for some reason refused to recognize the Java 8 so I installed the Java 8 SE Java Development Kit from Oracle and that took care of that problem. I would start with the Java 8 Runtime Environment and only install the JDK if there were a problem.