eclipse won't start - no java virtual machine was found

前端 未结 22 1262
感情败类
感情败类 2020-12-12 16:58

Eclipse was running fine yesterday (and has been since I installed it about a year ago). Now all the sudden I\'m getting the following error on startup:

\"A          


        
22条回答
  •  醉酒成梦
    2020-12-12 17:40

    Two ways to work around this .

    • Recommended way : In your eclipse.ini file make sure you are pointing -vm to your jdk installation. More on this here. Make sure to add -vm before the -vmargs section.

    • Pass in the vm flag from command line. http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F#Find_the_JVM

    Note : Eclipse DOES NOT consult the JAVA_HOME environment variable.

提交回复
热议问题