本篇章涵盖后面开发须要用到的工具,主要包含如下方面:javascript
java -version
显示结果以下表示安装成功。eclipse
官网下载地址,下载后是zip压缩包,解压双击运行eclipse.exe便可。主要列一下eclipse的一些使用技巧。html
Help->Install New Software
http://download.eclipse.org/jetty/updates/jetty-wtp/
,更改镜像后地址应该是http://mirrors.ustc.edu.cn/eclipse/jetty/updates/jetty-wtp/
,即download.eclipse.org
->mirrors.ustc.edu.cn/eclipse
,为啥是这样?ustc(中国科技大学)的镜像服务其实不单单提供eclispe镜像,还有linux,android等镜像,因此不能简单只替换域名,须要在mirrors.ustc.edu.cn
加上eclipse子文件夹来和其它镜像区别。Window->Preferences
plug-ins activated on startup
中,勾选掉不须要插件,例如jboss系列,各类reporting,UI的去掉要慎重,可能有会影响使用,可本身根据须要尝试,若是去掉有问题,再从新勾上便可。Window->Preferences
**/*.js
,指定js忽略编译全部js文件maven
maven可本身安装官网下载地址,其实下载好eclipse就自带maven了,maven的好处太多了。不用本身下jar包,并且可能下源码,配合eclipse,学习开发java太方便了。这里主要说下maven的镜像配置,
编辑settings.xml文件,若是没有就安装截图路径新建一个,
settings.xml内容以下java
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <localRepository/> <interactiveMode/> <usePluginRegistry/> <offline/> <pluginGroups/> <servers/> <mirrors> <mirror> <id>center</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors> <proxies/> <profiles/> <activeProfiles/> </settings>
64-bit Windows zip
版本,下载解压后,开始在eclipse中配置tomcatservers
视图,能够经过以下步骤添加no servers are available. Click this link to create a new server...
,而后步骤以下servers
视图中有其它服务,则在servers
视图窗口中,右键到如今,咱们开发环境就准备好了,固然2,3步中,eclisep和maven能够不优化,若是你能忍受jar长时间下不下来,编译速度慢。后续会以自动抓图为目标,开始JAVA学习。计划是由浅入深,最终涉及到java基础,http,spring mvc,多线程,数据库等。linux