JAVA_HOME setup and Integrate with Android Studio Project in Ubuntu
$ whereis jvm
jvm: /usr/lib/jvm
$ nano .bashrc
Write :
JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
export JAVA_HOME
PATH=$PATH:$JAVA_HOME/bin
export PATH
Close Terminal and Re-open Terminal:
$ echo $JAVA_HOME
/usr/lib/jvm/java-11-openjdk-amd64
Reference : https://youtu.be/106uH7USwZ8
In Android Studio:
Fire->Project Structure ->
Need to update in SDK Location and Modules sections to java-11
Reference: https://youtu.be/lv-jE2d4Aoc
Comments
Post a Comment