A JRE or JDK must be available in order to run Eclipse. No JVM was found after searching the following locations

前端 未结 27 2096
渐次进展
渐次进展 2020-12-01 00:31

Eclipse is unable to open, have used eclipse before and has open before without a problem. Now I keep getting the following error message:

A Java Runt

相关标签:
27条回答
  • 2020-12-01 01:18

    Make sure the install path of JDK is in your Path variable in Windows.

    0 讨论(0)
  • 2020-12-01 01:20

    In my case I had edited the eclipse.ini for a different purpose to include -vm parameter. That was causing the failure. I removed the -vm and following line where I had included \bin and that fixed the problem.

    0 讨论(0)
  • 2020-12-01 01:22

    I had the same problem and the issue was that I had a 32 bit version of Eclipse running on my 64 bit machine and it wanted the 32 bit version of JRE.

    I changed Program Files to Program Files (x86) in the eclipse.ini file like so:

    -VM
    C:Program Files (x86)\Java\jre6\bin
    

    and that solved the problem.

    You may want to just install the 64 bit Eclipse, but this will take care of the error.

    0 讨论(0)
  • 2020-12-01 01:22

    I got this fixed by doing the below steps,

    1)

    1. The eclipse finds the JAVA executables from 'C:\ProgramData\Oracle\Java\javapath'
    2. The folder structure will contain shortcuts to tenter image description herehe below executables, i. java.exe ii. javaw.exe iii. javaws.exe
    3. For me the executable paths were pointing to my (ProgramFiles(x84)) folder location
    4. I corrected it to Program Files path(64 bit) and the issue got resolved

    Please find the screenshot for the same.

    0 讨论(0)
  • 2020-12-01 01:23

    Here is how I fixed mine:

    1. find the location where your jre is installed. in my case, it was located at C:\Program Files\Java\jdk1.7.0_10

    2. copy the jre folder and paste it where your eclipse files are located (where eclipse.exe is located).

    when you download eclipse, you get a .zip package containing eclipse.exe and all the other files needed to run eclipse but it is missing the jre files. so all you need to do is to find where jre folder is located on your hard drive and add it to the rest of the eclipse package.

    0 讨论(0)
  • 2020-12-01 01:24

    Copy javaw.exe from C:\Program Files\Java\jre1.8(or)1.6(or)1.7\bin

    and paste it inside Eclipse folder where eclipse.exe is there. That's all.

    0 讨论(0)
提交回复
热议问题