I have downloaded Android Studio for Linux and extracted it using GUI.
Instructions for install are here
The first command:
puts my directory to
Then the second command " ./studio.sh" gives me:
"bash: ./studio.sh: No such file or directory"
How fix this?
EDIT 1: Ravan, it gives me this error message;
ERROR: Cannot start Android Studio No JDK found. Please validate either STUDIO_JDK, JDK_HOME or JAVA_HOME environment variable points to valid JDK installation. thomasshera@thomasshera-Satellite-Radius-P55W-B:~/Downloads/android-studio/bin$
EDIT 2: output of java -version:
The program 'java' can be found in the following packages: * default-jre * gcj-4.8-jre-headless * openjdk-7-jre-headless * gcj-4.6-jre-headless * openjdk-6-jre-headless Try: sudo apt-get install <selected package>
EDIT 3: new output of
java -version after installing JDK:
java version "1.7.0_91" OpenJDK Runtime Environment (IcedTea 2.6.3) (7u91-2.6.3-0ubuntu0.14.04.1) OpenJDK 64-Bit Server VM (build 24.91-b01, mixed mode)
EDIT 4: response of first part of Ravan's CLI install for JDK.
Important!!! For now, you should continue to use Java 8 because Oracle Java 9 is available as an early access release (it should be released in 2016)! You should only use Oracle Java 9 if you explicitly need it, because it may contain bugs and it might not include the latest security patches! Also, some Java options were removed in JDK9, so you may encounter issues with various Java apps. More information and installation instructions (Ubuntu / Linux Mint / Debian): http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html More info: https://launchpad.net/~webupd8team/+archive/ubuntu/java Press [ENTER] to continue or ctrl-c to cancel adding it