unable to start eclipse under java 1.8

I am unable to start eclipse after a java 1.8 upgrade. the error screenshot is attached. Here's my eclipse configuration setting. how do I fix this?

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Dhelp.lucene.tokenizer=standard
-Xms256m
-Xmx2048m
-Xverify:none


在这里输入图像描述


Did the following to run eclipse with 1.8 you change the version accordingly to 1.7

  • sudo add-apt-repository ppa:openjdk-r/ppa
  • sudo apt-get update
  • sudo apt-get install openjdk-8-jdk
  • Run $ sudo update-alternatives --config java
  • and enter the number for which JDK to use of your choice. Select option "0" or the one you need.

    在这里输入图像描述

  • Check java version "java -version
  • Now you should be able to run Eclipse


    Add

    -vm C:Pathtojrebinjavaw.exe

    This worked for me

    链接地址: http://www.djcxy.com/p/29568.html

    上一篇: Eclipse会自动退出代码127

    下一篇: 无法在java 1.8下启动eclipse