intellij idea - Android Studio Java error -
i tried run android-studio , error:(in studio self)
cannot run program "c:\program files\java\jdk1.7.0_21\bin\java" (in directory "c:\users\user.androidstudiopreview\system\compile-server"): createprocess error=2, system cannot find file specified
the problem why it's trying use jdk1.7.0_21
, not jdk1.7.0_25
?(that got installed). environment variables are: (system variables)
java_home: c:\program files\java\jdk1.7.0_25. android_swt: c:\adt-bundle-windows-x86\sdk\tools\lib\x86.
i fixed problem doing this:
go file > project structure (or use alt+ctrl+shift+s) , under platform settings
click on "sdks" , delete "1.7" jdk , add new jdk using correct java path.
Comments
Post a Comment