Eclipse Neon与JDK 7或更低版​​本 [英] Eclipse Neon with JDK 7 or below

查看:95
本文介绍了Eclipse Neon与JDK 7或更低版​​本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在JDK 7及更低版本上使用eclipse neon编译/运行ant时,我收到错误消息说不支持必须在1.8或更高版本上运行。如果我将蚂蚁和jdk改为8,那么我得到不支持的小型/主版本 ....

When I compile / run the build on ant with eclipse neon on JDK 7 and below I got error message saying Unsupported must run on 1.8 or higher. If I changed my ant and jdk to 8 on ant I got unsupported minior/major version....

有没有办法建立与jdk 7及以下与eclipse霓虹灯?如果我做了这个升级,我会牺牲我以前的所有变化和开发?

Is there a way to build with jdk 7 and below with eclipse neon? if I made this upgrade am I sacrificing all my previous changes and development?

推荐答案

Eclipse Neon本身必须使用Java 8运行。

Eclipse Neon itself must be run using Java 8.

您仍然可以使用较旧的Java版本来运行程序。在Java>已安装的JRE的首选项中配置可用的JRE / JDK。然后配置您的项目或运行配置以选择您要使用的版本。

You can still use older Java versions to run your programs. Configure the available JRE/JDKs in the Preferences in 'Java > Installed JREs'. Then configure your project or Run Configuration to choose the version you want to use.

这篇关于Eclipse Neon与JDK 7或更低版​​本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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