一、安装环境
- windows XP 32位
二、JDK安装
安装环境及软件包:
- jdk-6u45-windows-i586.exee
安装及环境变量配置:
- 直接安装jdk-6u45-windows-i586.exe
- 添加ava_home为C:\Program Files\Java\jdk1.6.0_45
- 添加classpath为 .;%java_home%lib;%java_home%lib\tools.jar (注意前面的.;)
- 修改path,添加;%java_home%\bin;%java_home%\jre\bin
三、tomcat安装
软件包:
- apache-tomcat-6.0.37-windows-x86.zip
安装:
- 直接解压到需要存放的目录
四、eclipse安装
软件包:
- eclipse-jee-kepler-SR1-win32.zip
安装:
- 直接解压到存放目录
五、在eclipse中配置tomcat
- windows - show view 打开server
- 在server窗口右键new - server 然后选apache - tomcat
- 选择tomcat安装的目录
- 可根据自身需要配置JDK(可不配)
六、eclipse性能优化配置
- windows - Preferences -general - Startup and Shutdown 根据个人需要关闭不用的插件
七、个性配置
- 代码编辑区域的背景色设置windows - Preferences -general - Editor -Text Editor -中Appearcance选择Background Color,去掉System default勾选,自定义颜色,色调85、饱和度123、亮度205
- Console区域背景色设置windows - Preferences - Run/Debug - Console中Background color,设置同上
- package explorer区域背景色,这里的背景色采用的是操作系统背景颜色,如需设置则桌面 - 右键 - 属性 - 外观 - 高级选择设置窗口背景色