Yes, see the instructions on the Apple website Restore Apple Java 6.
If you have JDK 7 installed on your system and you want to restore Apple Java 6, then JDK 7 needs to be uninstalled first. See the instructions to Uninstall JDK 7.
For Java versions 6 and below, Apple supplies their own version of Java. For Mac OS X 10.6 and below, use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Java 6 for your Mac. For issues related to Apple Java 6 on Mac, contact Apple Support. Oracle and Java.com only support Java 7 and later, and only on 64 bit systems.A 64-bit browser (Safari or Firefox, for example) is required to run Java 7 on Mac OS X. 32-bit browsers such as Chrome do not support Java 7 on the Mac platform.
You can download Java 7 from java.com.
Mac OS X 10.6 and below: Apple's Java comes pre-installed with your Mac OS.
Mac OS X 10.7 (Lion) and above: Java is not pre-installed with Mac OS X versions 10.7 and above. To get the latest Java 7 from Oracle, you will need Mac OS X 10.7.3 and above.
If you have Java 7, you will see a Java icon under System Preferences.
Java versions 6 and below are listed in the Java Preferences.app located in the Applications > Utilities folder on your Mac.
Mac OS X 10.7.3 and above: Under System Preferences click on the Java icon to access the Java Control Panel which will list your Java version.
If you do not see a Java icon under System Preferences, Java 7 and above is not installed.
When you install Java 7 on your Mac (Lion and above), Java will be enabled by default.
If you are running a Java application in the browser, you will need to also check that Java is enabled in your browser.
For earlier versions of Java, check the Apple Support site.
For Java versions 6 and below, Apple supplies their own version of Java.
Use the Software Update feature (available on the Apple menu) to check that you have the most up-to-date version of Apple's Java for your Mac.
Users of Lion Mac OS X 10.7.1 and 10.7.2 should upgrade to 10.7.3 or later versions, so you can get the latest Java 7 version from Oracle.
Apple disables the Java plug-in and Webstart applications when the Java update is done using Software Update. Also, if the Java plug-in detects that no applets have been run for an extended period of time it will again disable the Java plug-in.
The Java Runtime depends on the availability of an Application programming interface (API). Some of the API were added in Mac OS X 10.7.3. Apple has no plans to make those API available on older versions of the Mac OS.
During an auto-update, Mac OS X 10.9 (Mavericks) users might see the installation stall. Download the latest Java from the java.com web site.
Provide us details on Feedback form for reporting issues or providing feedback for Java.
You might also be interested in: