N/APosted on - 04/15/2017
When I try to install Java x64 and set up that java. And also when I update my Window and again reinstalled Android studio in our computer. Or run any android project then it gives me such type of error create process error two the system cannot find the file specified. How to overcome this?
Check Create Process Error 2 The System Cannot Find The File Specified In Java.
This bug comes through Android studio is still referring to the older JDK; the new Java path doesn’t set properly.
- Change JDK path.
- Go to File -> another setting ->default project structure.
- Go to platform setting, in this select Android JDK.
- Then check JDK location, check it is updated or not.
- If not, then change it.
- For changing JDK location, go to my computer -> right click -> properties -> Advanced setting -> Environment variables -> search your path -> edit -> Appended your path and separated by semicolon.
- Click ok.