Annoying and frustrating though it may be, you're going to have to backtrack and provide more information regarding the problem you're experiencing. In order to save time, feel free to post links to other discussion threads were you've sought assistance—though if you can, try to post to the relevant posts in those threads rather than the thread as a whole, if you can.
You might start by simply providing the error message or describing in simple terms the undesired behaviour that you're seeing.
Check out the Java for Mac FAQs.
MadMAC0 posted at https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182 that:
Apple has posted (10/22/12) the approved solution for restoring the Java 6 plug-in:
That's because Java is no longer installed by default on Mountain Lion. The preferences app resides in the Utilities folder regardless.
You need to install the Runtime downloaded from Oracle, here. I would recommend you make enquiries as to whether PS CS5 will work with Java 7 instead of 6, as the former is the more recent, more stable and more secure version. There's no guarantees that CS5 will recognise it, though. If not then the there's a link in the sidebar on the left-hand side of the linked page that allows download of Java 6.
Happy New Year!
That's because Java is no longer installed by default on Mountain Lion.
Totally wrong. The only Java component missing in ML is the Java Runtime Environment (JRE). Peruse those installations, looking in these directories, and be enlightened:
Java Web Start.app
to name a few, but probably not all the Java components installed with OS Xs. Then, stop saying Java's not installed, when only the JRE component is missing.
There's no need to install Java 7.