If you successfully installed the Java updater from Apple, you have Java 6 runtime.
Confirmation of which Java runtime version you have installed can be had by launching the terminal and entering (or copy and paste):
When you hit the "enter" key it will return something like:
java version "1.6.0_43"
This is Java 6 runtime (the second digit is the main version indicator, don't ask me why. it just is.)
Your issue is that you cannot enable java in your browser without a Java preferences tool.
Your answer is to install the Java 7 plugin from Oracle. That installs a Java preferences System Preferences pane.
You should know that Oracle has declared Java 6 is "End of life". There will not be any further development of the Java 6 runtime, so you should move along.
You could locate a machine that has the Apple Java Preferences.app (in /Applications/Utilities/ ) and copy it to the 10.7.2 machine, but you will probably have to revert the plugin configuration.
There are instructions available for that, but you'll need to do some searching on line. Doing a search on this support site for "java disabled" would be a good start.
In reality, most OS X machines running 10.7 and above that have internet access are going to have the Java 6 plugin disabled.
I'm not sure what good it would do to assure it runs with the java 6 plugin on OS X 10.7 if most of the users are going to have had the plugin disabled anyway. Using the java 6 plugin in OS X 10.7+ is unsupported by Apple, and requiring users to roll back isn't realistic.
10.7+ users should just update their 10.7 software so they can run the Java 7 plugin.
Doing otherwise would really just be irresponsible, considering the significance of the vulnerabilities.
Every developer is going to need to write to vendor supported configurations. If that can't be done, then someone is in the wrong business. /soapbox
you mean that my program needs java 6 plugin beacause as I mentioned before I installed Java 7 on OS x 10.7.3, 10.7.5 and 10.8.2 at first, then I tried to run my JWS applications (which use JOGL1 ) but they showed only blank white pages then I enable Java 6 according to the link:
after that they warned that there is no JRE , I installed Java7 again and they work.
Actually this is my first time which I am programming in Java and Ican not understand how they are related to eaach other but I have to explain it in my erport. why is different between the java 6 plugin and 7? why my program needs both? doing the steps in the mentioned link does not harm to mac systems?
There are two primary functional components to Java.
Apple merely disabled the Java 6 plugin, leaving the Java 6 Runtime installed and operational.
Installation of the Java 7 Plugin is the recommended and supported solution for OS X 10.7+.
The linked instructions restore the Java 6 plugin. It should work fine after that (if you ignore the proven vulnerabilities that prompted Apple to disable it).
The Java Runtime can run Java programs, but if you need a GUI user interface, you commonly use the plugin's functionality. At least that is my understanding...