升级Eclipse java编译器 [英] Upgrade Eclipse java compiler

查看:340
本文介绍了升级Eclipse java编译器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始使用Ant附带的Eclipse。它让我烦恼,我得到数百条警告:


[javac] warning:
java\io \BufferedInputStream.class(java\io:BufferedInputStream.class):
主要版本51比较新的50,
最高主要版本由
支持这个编译器。

[javac]建议升级编译器。


如何升级编译器?

解决方案

下载并安装较新版本的JDK。



Windows - > ;偏好 - > Java - >安装JRE 在此设置新版本


I started using Ant, that ships with Eclipse. It annoys me, that I get hundreds of warnings in the lines of:

[javac] warning: java\io\BufferedInputStream.class(java\io:BufferedInputStream.class): major version 51 is newer than 50, the highest major version supported by this compiler.
[javac] It is recommended that the compiler be upgraded.

How do I upgrade compiler?

解决方案

download and install newer version of JDK.

Windows - > Preference - > Java - > Installed JRE set newer version here

这篇关于升级Eclipse java编译器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆