Eclipse: JVM terminated. Exit code=2

前端 未结 6 792
走了就别回头了
走了就别回头了 2020-11-29 06:38

I recently decided to start trying Android app development, so I downloaded the Java SE Development Kit 8 (x86) for Windows (I got Windows 8 64bit, but my guide recommends g

6条回答
  •  既然无缘
    2020-11-29 07:23

    I know exactly how to solve your problem. Go to search and put in environment, a prompt will come up and ask you to "Edit environmental variables for your account" click that and a window will pop up. There will be the current paths which are running on the top (you should have your JDK version running, mine is 1.8) and on the bottom part there will be paths to choose from. Select (on the bottom part) the java path and delete it, then click okay. This should work.

    If it didn't work, You may also add a new path to the java bin folder which worked for me.

提交回复
热议问题