Eclipse Neon with JDK 7 or below

前端 未结 3 1858
粉色の甜心
粉色の甜心 2020-12-17 03:20

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

3条回答
  •  执笔经年
    2020-12-17 04:00

    You can edit like this following(make sure with your installation path),

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

提交回复
热议问题