jdk path in centos7
Hi,
I'm a newbee to linux, I am trying to locate jdk path in my centos7. I have not installed any java on my own though. But I see that when I type, java -version it specifies jdk 1.8.0_65, whereis java gives me lot of path, but if I try to navigate to check there, I can see only skyblue colored java files at /usr/bin/java, and if I'm not wrong its a softlink. I am not able to locate jdk 1.8.0_65 anywhere. I need this exact path to set in my bash_profile.
Thank you in advance.
|