I need to switch the Java version on my Mac OS X 10.8.4
but am not sure how, the version I have right now is 1.6.0_51
but i want to switch to 1.6.0_45
:
$java -version java version "1.6.0_51" Java(TM) SE Runtime Environment (build 1.6.0_51-b11-457-11M4509) Java HotSpot(TM) 64-Bit Server VM (build 20.51-b01-457, mixed mode) /usr/libexec/java_home -v 1.6.0_43 Unable to find any JVMs matching version "1.6.0_43". /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
I assume there is no such a version as 1.6.0_43
on my mac? how can install it and then switch to it? thanks!