Download java 7 jdk for mac

broken image

If you can't find where jdk1.7 is installed, check to see if it exists: /Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home Be careful here to choose the Home directory.

broken image

Open Preferences -> Java -> Installed JREs, see the JRE list on the right, if you have used the default jdk1.6, click Add, select MacOS X VM, point to the jdk7 installation location in the path, Yes. The following operation is how to change the default jre of eclipse, first open eclipse (if you change the order of jvm, let 1.7 at the top, and not write the location of dead jvm in the configuration of eclipse, then you should already use jdk1. Figure:Ĭonfirm the version used by java: open a terminal, enter java -version, and confirm that the version number of jvm is jdk1.7.0.

broken image
broken image

Until the installation is complete, this will not let you choose the installation directory.Ĭhange the preferred order of jvm, search for in Spotlight (Chinese version should be JAVA preference), you should be able to see several virtual machines already, drag and drop JAVA SE 7 to the top, you can I dragged the 64-bit version). Download the mac version dedicated jdk1.7, the address is as follows: 。Īfter the next good, double-click dmg to open, as shown.