简体   繁体   中英

Eclipse keeps crashing

Eclipse keeps crashing for some reason and I'm not sure why. I looked at other answers and tried to increase the heap size, but that didn't work. These are the errors that I'm getting.

I'm on windows 8.1, java 64 bit

错误代码-8xxxxx错误代码1

Just a guess: You are using the Java installed in Windows\\system32 , but the Java you want to use is a 64bit one. So try the following steps (recommended anyway):

  • Go to the directory where your workspace and / or Eclipse is installed.
  • Create there a Shortcut, that references the file eclipse.exe in the Eclipse installation.
  • Open that shortcut then, and add the following parameters:
    • -vm <path> : Absolute path to the Java runtime that should be used. Ends in (on windows) javaw.exe .
    • -data <path> : References the workspace (absolute or relative) that you were using.
  • Start then Eclipse by using this shortcut, and see if that helps.

As a rule, you should use all the time Java 32bit with Eclipse 32bit and Java 64bit with Eclipse 64bit.

See the Help Eclipse for all runtime options.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM