I never installed the Java 6 JDK, so can't tell. If I look in /Library/Java/JavaVirtualMachines all I see it the Java 7 JDK.
Look for an update to Java on October 16th. Then maybe we'll all know the answer.
I never installed the Java 6 JDK, so can't tell. If I look in /Library/Java/JavaVirtualMachines all I see it the Java 7 JDK.
This thread came to my mind as soon as i saw today's Apple software update for OS X.
Apple seems to have taken action to resolve the confusion towards the java versions availability for the mac os x from both Apple and Oracle.
It only installs the Java 1.6 build 37 on the machine, which is the latest in the 1.6 series. Oracle serves Java 1.7 for Windows, Linux, OS X, etc. The same as it was when Oracle first started to serve Java 1.7 for OS X. The only thing that is being done now is to push OS X users towards the Oracle one by removing Java 1.6 web plugin (the plugin used by the web browsers). This creates even more confusion.This thread came to my mind as soon as i saw today's Apple software update for OS X.
Apple seems to have taken action to resolve the confusion towards the java versions availability for the mac os x from both Apple and Oracle.
This release updates the Apple-provided system Java SE 6 to version 1.6.0_37 and is for OS X versions 10.7 or later.
This update uninstalls the Apple-provided Java applet plug-in from all web browsers. To use applets on a web page, click on the region labeled "Missing plug-in" to go download the latest version of the Java applet plug-in from Oracle.
This update also removes the Java Preferences application, which is no longer required to configure applet settings.
Not really. I had both 1.6 and the newer 1.7 and would switch to 1.6 for those apps that would not work on the newer version. Now with the java preference pane gone, I have no way of switching back to 1.6 and some of my apps can't load now.
/Library/Java/JavaVirtualMachines
Go to this folder and remove 1.7. This will leave you Java 6 (1.6) for the runtime for apps, and it will leave 7 (1.7) in place as the web plugin.
I had the same experience as you with this breaking the Crashplan OS X app and this fixed it by allowing the app to use 1.6 again.
Thanks, but /Library/Java/JavaVirtualMachines folder is empty. Though I can successfully launch java applets from a web browser and/or a desktop shortcut (goes straight to the 1.7 version).
What do you get with the command "java -version" (without quotes) in Terminal? I had two 1.7 entries in that folder and by deleting them the java -version command showed my runtime (not the web plugin) back at 1.6.
Read the readme's that Oracle puts on their website
If you want the commandline stuff (java -version) you need to install the JDK. Previously you could dictate whether to use version 6 or 7 by rearranging them in Java Preferences. This is now impossible because Java Preferences will be removed with this update. You can have multiple JDK versions on your system which is why you had this option.
If you only run Java applications/applets you only need the JRE which is the web plugin that this update also removes. This plugin will install a System Preferences panel under the "Other" category. You can use this to launch the JRE preferences. This is enough because you can only have 1 JRE version on your system. It seems that Apple is going this route and thus Java Preferences is obsolete. If you require more Java versions to run along side then Oracle has to come up with something to do so.
Source: http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html#versionTo run a different version of Java, either specify the full path, or use the java_home tool:
/usr/libexec/java_home -v 1.7.0_06 --exec javac -version
For more information, see the java_home(1) man page.