Error:CreateProcess error=216and also IDE fatal error

Error:CreateProcess error=216and also IDE fatal error

createprocess=216 and also the IDE fatal error

转到AndroidStudio File->Project Structure->SDK Location,select你的JDK所在的目录,默认情况下Studio使用嵌入式JDK但由于某些原因它产生错误=216.