点击eclispe.exe 后出现“No Java virtual machine was found after searching the following locations” 的错误

          点击eclispe.exe 后,出现以下错误

              点击eclispe.exe 后出现“No Java virtual machine was found after searching the following locations” 的错误_第1张图片

     解决方案(仅供参考):

      1、找到 eclispe  的安装目录找到 eclipse.ini文件,用记事本打开

      2、在第一行加上

            -vm
            F:/Java/jdk1.7.0_80/bin/javaw.exe

          : F:/Java/jdk1.7.0_80/bin/javaw.exe  是我安装jdk 的路径

           点击eclispe.exe 后出现“No Java virtual machine was found after searching the following locations” 的错误_第2张图片

      要是 eclipse.ini  文件里已有

          -vm
          xxxxx/bin/javaw.exe

      的话,就修改过来就好了

你可能感兴趣的:(java,eclispe)