Cannot run Eclipse; JVM terminated. Exit code=13

前端 未结 30 2774
生来不讨喜
生来不讨喜 2020-11-21 05:31

\"enter

I just append -vm C:\\Program Files\\Java\\jre6\\bin\\javaw.exe

in ec

30条回答
  •  说谎
    说谎 (楼主)
    2020-11-21 05:40

    Whenever you see this error, go to Configuration directory and check for a log file generated just now. It should have proper Exception stacktrace. Mine was a case where I got an updated 32-bit JRE (or JVM) installed which was the default Java that got added to the Path. And my Eclipse installation was 64-bit which meant it needed a 64-bit VM to run its native SWT libraries. So I simply uninstalled the 32-bit JVM and replaced it with a 64-bit JVM.

    I wonder if they will improve this reporting mechanism, instead of silently generating a log file in some directory.

提交回复
热议问题