Reason: I am a front-end development engineer, and I want to "enter" the back-end on a whim, and my colleague sent me a package of eclipse on his computer. After decompression, double-click to open and then crash? ? ?
Reason: I am a back-end novice, and the specific reason is really not clear. I searched and found that jdk has been installed or upgraded multiple times, resulting in confusion in the installation path, and eclipse cannot start normally. There may be other reasons~
After trying several methods found out, the following is useful (maybe only for personal situations)
Specific operation:
Go to eclipse.ini in the eclipse folder, open it, edit it, add the following code at the end and save it! ! !
-Dorg.eclipse.swt.browser.DefaultType=mozilla
-dorg.eclipse.swt.browser.UseWebKitGTK=true
-Dorg.eclipse.swt.browser.XULRunnerPath==/usr/lib/xulrunner-2
-Dorg.eclipse.swt.internal.gtk.cairoGraphics=false
Just save the file~
Reference: Solution to the crash problem when Eclipse starts - Running Ants' Blog - CSDN Blog