JDK安装
1.访问官方网址:http://www.eclipse.org/downloads/,选择需要下载的版本。
- Go to http://www.eclipse.org/downloads/ to download a copy of eclipse. The page will look like this:
The first item listed is "Eclipse IDE for Java Developers (98 MB)." On the right is a green, downward-pointing arrow. Next to that are links labeled "Mac OS X 32 Bit" and "Mac OS X 64 Bit." Click on the "Mac OS X 32 Bit" link. (Even if you have nice, new 64-bit Mac, it should run the 32-bit version just fine.)
2.解压eclipse-jee-kepler-SR1-macosx-cocoa-x86_64.tar
3.点击eclipse目录下eclipse图标,如果没有安装JDK,会提示软件更新,mac自动下载相应的jdk。