JDK on Mac OS X

I found two JDKs on my Mac, one is on the path: ` /System/Library/Java/JavaVirtualMachines/1.6.0jdk

` the other is on the path: ' /Library/Java/JavaVirtualMachines/1.7.0jdk

'

what else? why are there two?

+3


source to share


1 answer


/System/Library/Java/JavaVirtualMachines/1.6.0jdk

is the JDK that Apple used to distribute with its operating system. Since then, they stopped providing the JDK and left it to the owner of the Java platform, Oracle, to provide the latest JDK, which /Library/Java/JavaVirtualMachines/1.7.0jdk

is the JDK provided by Oracle.



The difference is just the version and vendor (vendor) of the JDK. It's great to have multiple JDKs on your system.

+4


source







All Articles