要改一个JDK版本

主要是为了解决ant编译报错,JDK版本不一致的问题。
1. Windows——Preferences——Java——Compiler(配置的为1.8)——Installed JREs(勾选的是JDK1.8的安装路径)
2. Ant——Runtime——Classpath(tab项)——Global Entries(此处的tools.jar也是位于JDK1.8安装路径下的lib目录中的tools.jar
3. 右键build.xml文件,Run As——External Tools Configurations,打开JRE选项卡,在Separate JRE选项中必须选择和你编译版本一致的JDK版本