Like the most people recognized Mac OS X Mountain Lion does some weird stuff to already installed software. So does it to Java and gives us a message that tells us to download some version from their website (which is not installable) or from some Oracle site.
The quicker and easier way is to use the already installed version of Java and let it update itself pretty quick.
All you have to do is:
- open the hotspot search (cmd + space)
- enter “java”
- select the “java preferences” icon
Now it is downloading the newest Java version and installs it.
I hope this will work for you too.
Link: Download Java 7 here