![]() Next, verify the installation by typing: javac -version 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 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 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |