- Android studio linux 64 bit how to#
- Android studio linux 64 bit install#
- Android studio linux 64 bit 64 Bit#
Linux is traditionally used in CLI (command line interface) mode (or terminal), but Ubuntu is working hard to make Linux accessible even to those of us raised on Windows and Mac and unused to typing commands. Installing Android Studio From The Ubuntu Software Center Save the bash file, restart the terminal, and type echo $JAVA_HOME to make sure the path is properly set. bashrcĪt the very end of the file, after the last fi, add the following lines: JAVA_HOME=/usr/lib/jvm/java-8-oracle/bin export JAVA_HOME PATH=$PATH:$JAVA_HOME export PATH įinally, you will need to set the JAVA_HOME environment variable in Ubuntu to the location of your JDK installation. If you followed the instructions above, it will be /usr/lib/jvm/java-8-oracle/bin. Make sure to note the path of your Java installation. The result you should get is something like: javac 1.8.0_201 Next, verify the installation by typing: javac -version
Android studio linux 64 bit install#
Once the download and installation are done, make sure to set the Oracle Java as the default: sudo apt-get install oracle-java8-set-default The download may take some time, so depending on your internet speed, this might be a good time to get some Java (or other caffeinated beverage) of your own. Since Android Studio can be finicky about its Java, we’re going to ignore these options and install the Oracle JDK with the following commands: sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer
Android studio linux 64 bit how to#
This is Ubuntu giving you hints on how to set up one of the default Java engines on your machine. If you don’t have Java installed, the output should be something like: Command ‘java’ not found, but can be installed with: sudo apt install default-jre sudo apt install openjdk-11-jre-headless sudo apt install openjdk-8-jre-headless To check the version of Java currently running on your machine, use the terminal to run the following command: java -version