Depending on your processor, the downloaded file has one of the following names: If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app.See "Note for Users of OS X that Include Apple Java 6 Plug-in".
Remember you would also have to update the links for jar, jarsigner, javac, javadoc, javah, javap, javaws, jcmd, jconsole, jdb, jhat, jinfo, jmap, jmc, jps, jrunscript, jsadebugd, jstack, jstat, jstatd, and jvisualvm to provide a coherent environment. Install the JDK 7 and this problem will solve itself.
Be sure to get the Java Development Kit (JDK) which includes compilers and stuff like that, rather than just the Java Runtime Environment (JRE) .
Some Mac users require installing Java in OS X El Capitan, perhaps for compatibility with a particular web site or application, or because they’re a java developer.
But Apple has becoming increasingly strict with Java, and by default it is no longer installed with a OS X 10.11 clean install, and you’ll find that after updating a Mac a prior version of JRE or JDK may no longer function.
Many Adobe applications are dependent on the Oracle Java Runtime Environment (JRE) for some features to work.