0

I am following this tutorial to install Android Studio on my Linux Mint. I have reached the stage where I have to set the JAVA_HOME environment variable to the location of my JDK installation.
I was offered this link to follow.
So far I have installed Java using this command:

sudo apt-get install openjdk-9-jre-headless -y

Next, I have used this command to see where Java is installed:

locate openjdk

Which gives the following result:

enter image description here

In the tutorial, it says :

enter image description here
However, I do not have a path similar to the path shown in the tutorial:

/usr/lib/jvm/java-9-openjdk-amd64

I am trying to avoid unnecessary mistakes. So that's why I want to know which of the paths given by the locate openjdk should I use to set Java_Home path.

1 Answer 1

0

By following this tutorial (Only in the beginning), I have found the path.

/usr/lib/jvm/java-9-openjdk-amd64

And then I continued with the original tutorial.

Hope this helps someone.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .