LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I find out where Java is installed (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-find-out-where-java-is-installed-4175431290/)

kmalewezi 10-09-2012 04:17 AM

How do I find out where Java is installed
 
I installed Opendjk Java 7 on Ubuntu 12 BUT I caanot find out where it's installed. I'm looking for the executable.

henrycoffin 10-09-2012 04:26 AM

try

# which java

arun5002 10-09-2012 04:29 AM

Hi

You can find try out using


#sudo update-java-alternatives - You can find the java path (or) else you can use whereis openjdk ,locate openjdk


All times are GMT -5. The time now is 09:16 AM.