1、解压JDK,例如f:\warez\Develop\Java\jdk1.5.0_16;
2、修改环境变量,在Path中增加:f:\warez\Develop\Java\jdk1.5.0_16\bin;
3、解压Eclipse,例如f:\warez\IDEs\Eclipse0621目录下;启动Eclipse(f:\warez\IDEs\Eclipse0621\eclipse.exe),如果提示找不到jre,可以用 “f:\warez\IDEs\Eclipse0621\eclipse.exe -vm f:\warez\Develop\Java\jdk1.5.0_16\bin” 的方式启动;
4、在Eclipse的Window==>Preferences==>Java==>Installed JREs中添加:
F:\warez\Develop\Java\jdk1.5.0_16;
5、重启Eclipse,如果仍然提示找不到jre,在Installed JREs==>Execution Enviroments中选对应的JDK版本打勾;
6、重启Eclipse验证设置成功;
7、为eclipse.exe增加快捷键,例如在Hoekey里加一行:~@E = Run|"f:\warez\IDEs\Eclipse0621\eclipse.exe"