Eclipse Neon with JDK 7 or lower

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

Is there a way to build using jdk 7 and below using eclipse neon? if I do this update, will I sacrifice all my previous changes and developments?

+4
source share
3 answers

Eclipse Neon itself should start using Java 8.

Java . JRE/JDK "Java > JRE". " ", , .

+6

Neon java 1.8, neon java 1.7

java eclipse.ini. Dosgi.requiredJavaVersion = 1.7

+1

, (, ),

-vm
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin 
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
+1

All Articles