Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Neon with JDK 7 or below

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....

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?

like image 333
logger Avatar asked Jun 28 '16 12:06

logger


1 Answers

Eclipse Neon itself must be run using Java 8.

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.

like image 55
greg-449 Avatar answered Oct 16 '22 10:10

greg-449