explain java on mountain lion
I'm don't really understand Java and how it i is implement on OSX so the question and explanation needs some file names...
In terminal:
> which java
/usr/bin/java
> java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
However if I vistit: http://www.java.com/en/download/testjava.jsp
I find:
Your Java configuration is as follows:
Vendor: Oracle Corporation
Version Java SE7 Update 13
Operating system Mac OSX 10.8.2
Java Architecure: 64-bit
(This after having run the Oracle installer. Prior to that, that page showed no java being installed.)
=====================
Support Article HT5559 - Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality
Aparently only talks about the Java Plugin for Safari.
As does, Oracle's instructions to "Unistall Oracle Java 7" - http://www.java.com/en/download/help/mac_uninstall_java.xml
====================
1- It appears that "/usr/bin/java" is the Java Runtime Environment (JRE), although Oracle describes this as "a plugin." ... or is that the JDK?
2- So, when I run a stand-alone Java Application, (i.e. no browesr involved) what is it running? Java 6 or Java 7, and how can I tell?
I should add /library/java/JavaVirtualMachines is empty
iMac, OS X Mountain Lion (10.8.2), iMac Core i7 2.93GHz 4GB