简体   繁体   中英

How do I set up Java for Android Studio?

I recently downloaded Android Studio and the install instructions say I need a certain version of Java sdk installed. I clicked on the link provided and downloaded the file. After trying to install the the Java file, it said a newer version was already installed. How or where can I find the correct file to use with Android Studio?

1) Most of the times it will be installed to default location C:\\\\program files\\\\Java (OR) C:\\\\program files (X86)\\\\Java

2) You may check your computer Environment Variables. How to set environment variables

3) If none of above options work, just search for java (OR) javac file in windows search.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM