Important notice regarding Oracle Java 11 and newer: the Oracle JDK license has changed
starting April 16, 2019. The new license permits certain uses, such as personal use and
development use, at no cost -- but other uses authorized under prior Oracle JDK licenses
may no longer be available.
A FAQ is available here:
https://www.oracle.com/technetwork/java/javase/overview/oracle-jdk-faqs.html .
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:linuxuprising/java | |
sudo apt-get update | |
sudo apt-get install oracle-java10-installer | |
java -version && javac -version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip | |
unzip \platform-tools-latest-linux.zip | |
sudo cp platform-tools/adb /usr/bin/adb | |
sudo cp platform-tools/fastboot /usr/bin/fastboot |